import type { FileUpload } from "../InputFile"; export interface FormatFileProps { /** * File upload details object. (See FileUpload type.) */ readonly file: FileUpload; /** * To display as either a file row or thumbnail * * @default "expanded" */ readonly display?: "expanded" | "compact"; /** * The base dimensions of the thumbnail * * @default "base" */ readonly displaySize?: "base" | "large"; /** * Function to execute when format file is clicked */ onClick?(event: React.MouseEvent): void; /** * onDelete callback - this function will be called when the delete action is triggered */ onDelete?(): void; }