Revert "Add yet-another-react-lightbox package and update .gitignore to exclude node_modules"
This reverts commit c92f4a5edd.
This commit is contained in:
15
frontend/node_modules/react-dnd/dist/hooks/useDrag/connectors.js
generated
vendored
Normal file
15
frontend/node_modules/react-dnd/dist/hooks/useDrag/connectors.js
generated
vendored
Normal file
@@ -0,0 +1,15 @@
|
||||
import { useMemo } from 'react';
|
||||
export function useConnectDragSource(connector) {
|
||||
return useMemo(()=>connector.hooks.dragSource()
|
||||
, [
|
||||
connector
|
||||
]);
|
||||
}
|
||||
export function useConnectDragPreview(connector) {
|
||||
return useMemo(()=>connector.hooks.dragPreview()
|
||||
, [
|
||||
connector
|
||||
]);
|
||||
}
|
||||
|
||||
//# sourceMappingURL=connectors.js.map
|
||||
Reference in New Issue
Block a user