Skip to content

Commit e909c80

Browse files
author
Dang Hai An
committed
doc: add Playground section
1 parent 9e23e6b commit e909c80

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,5 +15,17 @@ const App = {...}
1515
const AppContainer = DragDropContext(MouseBackEnd)(App)
1616
```
1717

18+
### Playground
19+
20+
First, prepare the playground:
21+
22+
```sh
23+
cd example;
24+
yarn; yarn start
25+
```
26+
27+
Then head to `http://localhost:3030/` to start some fun drag and dropping.
28+
29+
1830
### Credits
1931
Inspired by [HTML5 Backend](https://github.com/gaearon/react-dnd-html5-backend) & [Touch Backend](https://github.com/yahoo/react-dnd-touch-backend) to support only mouse events.

0 commit comments

Comments
 (0)