UNPKG

518 BJSXView Raw
1'use strict'
2
3import React from 'react'
4import {ApDraggable, ApDraggableStyle} from 'apeman-react-draggable'
5
6const ExampleComponent = React.createClass({
7 render () {
8 return (
9 <div>
10 <ApDraggableStyle/>
11 <ApDraggable onStart={ () => {
12
13 } }
14 onMove={ () => {
15
16 } }
17 onEnd={ () => {
18
19 } }
20 direction="ALL">
21 <div>Drag me!</div>
22 </ApDraggable>
23 </div>
24 )
25 }
26})