Skip to content

Commit

Permalink
chatlist example onDragComponent added
Browse files Browse the repository at this point in the history
  • Loading branch information
Emre Güdür committed Jun 27, 2022
1 parent 9d95eca commit 02622de
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions example/components/ChatListExample.tsx
Expand Up @@ -157,9 +157,7 @@ function ChatListExample() {
onDragEnter={(e: React.DragEventHandler, id: number) => console.log(e, id, 'onDragEnter')}
onDragLeave={(e: React.DragEventHandler, id: number) => console.log(e, id, 'onDragLeave')}
onDrop={(e: React.DragEventHandler, id: number) => console.log(e, id, 'onDrop')}
onDragComponent={() => {
;<div className='on-drag-mlist'>{loremIpsum({ count: 4, units: 'words' })}</div>
}}
onDragComponent={() => <div className='on-drag-mlist'>{loremIpsum({ count: 4, units: 'words' })}</div>}
/>
),
}}
Expand Down

0 comments on commit 02622de

Please sign in to comment.