UNPKG

@tiller-ds/upload

Version:

Upload module of Tiller Design System

13 lines (12 loc) 783 B
import { DragZoneProps as InternalDragZoneProps } from "./DragZone"; import { UploadButtonProps as InternalUploadButtonProps } from "./UploadButton"; import { Destination as InternalDestination } from "./UploadyWrapper"; import { File as InternalFile } from "./useFileUpload"; export declare type DragZoneProps<T extends File> = InternalDragZoneProps<T>; export declare type UploadButtonProps<T extends File> = InternalUploadButtonProps<T>; export declare type Destination = InternalDestination; export declare type File = InternalFile; export { default as useFileUpload } from "./useFileUpload"; export { default as DragZone, DragZoneLoader } from "./DragZone"; export { default as FileList } from "./FileList"; export { default as UploadButton } from "./UploadButton";