@empoleon/solid-dropzone
Version:
Simple HTML5 drag-drop zone with SolidJS
14 lines (13 loc) • 445 B
TypeScript
import { Component } from "solid-js";
import { DropzoneHookResult, DropzoneProps } from "./types";
/**
* Convenience wrapper component for the `useDropzone` hook
*/
declare const Dropzone: Component<DropzoneProps>;
export default Dropzone;
/**
* A SolidJS hook that creates a drag 'n' drop area.
*/
export declare function useDropzone(props?: DropzoneProps): DropzoneHookResult;
export { ErrorCode } from "./utils";
export * from './types';