How to use the react-beautiful-dnd.callbacks.onDragEnd function in react-beautiful-dnd

To help you get started, we’ve selected a few react-beautiful-dnd examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github lourenci / react-kanban / src / components / Board / index.spec.js View on Github external
act(() => {
              callbacks.onDragEnd({ source: { index: 0 }, destination: { index: 1 }, type: 'BOARD' })
            })
          })