react-dnd-line
v0.2.13
Published
draw lines in div elements
Downloads
32
Readme
react-dnd-line
draw lines in div elements
install
$ npm i -S react-dnd-line
Usage
import { Point, LineBackend, getPoint } from "react-dnd-line";
class App extends Component {
render() {
return (
<LineBackend lines={lines}>
<Point type="point" onDraw={(line) => {}} />
<Point type="point" onDraw={(line) => {}} />
</LineBackend>
);
}
}
License
Copyright (c) 2015-2016 Recharts Group