import { HTMLAttributes } from "react"; export interface UploadProps extends HTMLAttributes { /** * Sets the description of the component */ description?: string; /** * Sets the disabled state of the component */ disabled?: boolean; /** * Sets the label of the component */ label?: string; /** * Sets the percentage of the component */ percent?: number; /** * Sets the title of the component */ title?: string; /** * Sets the uploading state of the component */ uploading?: boolean; /** * Sets the callback onUpload of the component */ onUpload?: (files: FileList) => void; /** * Sets the variant of the component */ variant?: 'information' | 'success' | 'error'; }