Package Exports
- react-announce-draggable
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (react-announce-draggable) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Reactive Announce Draggable
Installation
npm i react-announce-draggable --save
Example Usage
const {draggable, droppable, stream} = require('react-announce-draggable')
@draggable
class Apple extends Component {
render () {
return (
<div draggable="true">
APPLE
<div>
)
}
}
@droppable
class Basket extends Component {
render () {
return (
<div>
Fruit Basket
<div>
)
}
}