UNPKG

@mantine/dropzone

Version:

Dropzone component built with Mantine theme and components

1 lines 498 B
{"version":3,"file":"Dropzone.context.cjs","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,uBAAA,0BAAA,CAAA,CAAA,kBAAA,CAC9B,0CACF"}