React Rectangle Selection

Installation
npm install --save react-rectangle-selection
How To Use
First import this component where you want to use itimport RectangleSelection from "react-rectangle-selection"
Then wrap it around the component that will trigger the selection box.
```jsx
render() {
return(
<RectangleSelection
onSelect={(e, coords) => {
this.setState({
origin: coords.origin,
target: coords.target
});
}}
style={{
backgroundColor: "rgba(0,0,255,0.4)",
borderColor: "blue"
}}
>
<div className="App" />
)
}
```