We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6fd0bfa commit f11d9f4Copy full SHA for f11d9f4
README.md
@@ -87,6 +87,17 @@ These types are just string constants that are used to match compatible drag sou
87
Let's make a very simple draggable component that, when dragged, represents `IMAGE`:
88
89
```javascript
90
+/**
91
+ * Don't panic!
92
+ * Examples will use ES6 syntax.
93
+ *
94
+ * var { DragDropMixin } = require('react-dnd');
95
96
+ * is equivalent to this in ES5:
97
98
+ * var DragDropMixin = require('react-dnd').DragDropMixin;
99
+ */
100
+
101
var { DragDropMixin } = require('react-dnd'),
102
ItemTypes = require('./ItemTypes');
103
0 commit comments