File tree Expand file tree Collapse file tree 1 file changed +14
-0
lines changed
Expand file tree Collapse file tree 1 file changed +14
-0
lines changed Original file line number Diff line number Diff line change @@ -22,6 +22,20 @@ This bundle is also what is loaded when installing from npm. It expects external
2222If you want a UMD version of the latest ` master ` revision, you can generate it yourself from master by cloning this
2323repository and running ` $ make ` . This will create umd dist files in the ` dist/ ` folder.
2424
25+ ### Installing with jspm and systemjs ES6 module loader
26+
27+ ``` bash
28+ $ jspm install npm:react-draggable
29+ ```
30+
31+ To access the ` Draggable ` component in your own code, you refer to the ` .default ` property of the imported reference.
32+
33+ ``` js
34+ import * as ReactDraggable from ' react-draggable' ;
35+ var Draggable = ReactDraggable .default ;
36+ ReactDOM .render (< Draggable / > , ... );
37+ ```
38+
2539## Draggable
2640
2741A ` <Draggable> ` element wraps an existing element and extends it with new event handlers and styles.
You can’t perform that action at this time.
0 commit comments