useIsDroppingFiles

About

Check if any files are currently being dropped anywhere. Useful for highlighting drop areas.

Examples

import { useIsDroppingFiles } from "rooks";
export default function App() {
useIsDroppingFiles();
return null;
}

Join the community!

Join our discord server! You can click the floating discord icon at the bottom right of the screen and chat with us!

Powered by vercel