Last dropped: {JSON.stringify(lastDroppedItem)}
diff --git a/packages/examples-hooks/src/01 Dustbin/Multiple Targets/index.tsx b/packages/examples-hooks/src/01 Dustbin/Multiple Targets/index.tsx index 72550605dd..6bf731e92d 100644 --- a/packages/examples-hooks/src/01 Dustbin/Multiple Targets/index.tsx +++ b/packages/examples-hooks/src/01 Dustbin/Multiple Targets/index.tsx @@ -51,7 +51,7 @@ export default class Container extends React.Component<{}, ContainerState> {Last dropped: {JSON.stringify(lastDroppedItem)}
diff --git a/packages/examples-hooks/src/02 Drag Around/Custom Drag Layer/Container.tsx b/packages/examples-hooks/src/02 Drag Around/Custom Drag Layer/Container.tsx index 2e244d728c..f96920572e 100644 --- a/packages/examples-hooks/src/02 Drag Around/Custom Drag Layer/Container.tsx +++ b/packages/examples-hooks/src/02 Drag Around/Custom Drag Layer/Container.tsx @@ -4,6 +4,7 @@ import ItemTypes from './ItemTypes' import DraggableBox from './DraggableBox' import snapToGrid from './snapToGrid' import update from 'immutability-helper' +import { DragItem } from './interfaces' const { useDrop, } = __EXPERIMENTAL_DND_HOOKS_THAT_MAY_CHANGE_AND_BREAK_MY_BUILD__ @@ -46,13 +47,12 @@ const Container: React.FC