@mantine/dropzone
Version:
Dropzone component built with Mantine theme and components
10 lines (9 loc) • 325 B
TypeScript
export interface DropzoneContextValue {
idle: boolean;
accept: boolean;
reject: boolean;
}
export declare const DropzoneProvider: ({ children, value }: {
value: DropzoneContextValue;
children: React.ReactNode;
}) => import("react/jsx-runtime").JSX.Element, useDropzoneContext: () => DropzoneContextValue;