Created
November 19, 2018 15:35
-
-
Save alejandrosobko/5b877f9b7e9d81a4b42f6013a3133f8f to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export default (props: any) => | |
<Draggable draggableId={props.draggableId} index={props.index}> | |
{(provided: any) => ( | |
<div className={props.className} | |
ref={provided.innerRef} | |
{...provided.draggableProps} | |
{...provided.dragHandleProps}> | |
{props.children} | |
</div> | |
)} | |
</Draggable> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment