@ahrefs/bs-react-dnd

Reason bindings for react-dnd

Usage no npm install needed!

<script type="module">
  import ahrefsBsReactDnd from 'https://cdn.skypack.dev/@ahrefs/bs-react-dnd';
</script>

README

Reason bindings for react-dnd

Reason bindings for react-dnd.

Status

🚧 Not everything is supported yet; Unstable; Doesn't follow semver; 🚧

Feel free to create an issue or PR.

Installation, npm

npm install --save @ahrefs/bs-react-dnd

Then add @ahrefs/bs-react-dnd to bs-dependencies in your bsconfig.json:

{
  ...
  "bs-dependencies": ["@ahrefs/bs-react-dnd"]
}

TODO

  • DragLayer
  • Recreate some examples from react-dnd docs

Usage

Please take a look at examples. To run demo:

$ cd examples
$ npm install
$ npm start