react-dnd-mouse-backend
Version:
A lightweight attempt for solving the whole HTML5 DnD - svg tags compability issue
18 lines (14 loc) • 384 B
JavaScript
/* eslint-disable max-len */
import React from 'react'
import Target from './Target'
const DragAroundNaive = React.createClass({
render() {
return (
<div style={{ flex: 1 }}><div style={{ display: 'flex', flexDirection: 'column', }}>
<h3>Normal Div</h3>
<Target hideSourceOnDrag={true} />
</div></div>
)
}
})
export default DragAroundNaive