UNPKG

mfg-ui-components

Version:

React UI library with reusable components

9 lines (8 loc) 363 B
export default function useDragAndDrop(): { dragOver: boolean; setDragOver: import("react").Dispatch<import("react").SetStateAction<boolean>>; onDragOver: (e: React.SyntheticEvent) => void; onDragLeave: () => void; fileDropError: string | null; setFileDropError: import("react").Dispatch<import("react").SetStateAction<string | null>>; };