UNPKG

@empoleon/solid-dropzone

Version:
14 lines (13 loc) 445 B
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';