-
Notifications
You must be signed in to change notification settings - Fork 57
Closed
Description
I have the following code:
const MyComponent = props =>
<div>
<Reorder
reorderId="research"
className={"reorder"}
lock="horizontal"
holdTime={500}
onReorder={() => {console.log("reorder")}}
autoScroll={true}
disabled={false}
disableContextMenus={true}>
{["1","2","3","4"].map(v => <Cell key={v} name={v} />)}
</Reorder>
</div>
const Cell = props =>
<div style={{
backgroundColor: "lightpink",
border: "1px solid green",
padding: 20,
userSelect: "none"}}>{props.name}</div>
It doesn't seem to work and I feel stupid for asking but am I missing something?
Metadata
Metadata
Assignees
Labels
No labels