UNPKG

@mantine/dropzone

Version:

Dropzone component built with Mantine theme and components

1 lines 479 B
{"version":3,"file":"Dropzone.context.mjs","names":[],"sources":["../src/Dropzone.context.ts"],"sourcesContent":["import { createSafeContext } from '@mantine/core';\n\nexport interface DropzoneContextValue {\n idle: boolean;\n accept: boolean;\n reject: boolean;\n}\n\nexport const [DropzoneProvider, useDropzoneContext] = createSafeContext<DropzoneContextValue>(\n 'Dropzone component was not found in tree'\n);\n"],"mappings":";;;AAQA,MAAa,CAAC,kBAAkB,sBAAsB,kBACpD,0CACF"}