Represents the properties for the FilesView component.

interface IFilesViewProps {
    accept?: string;
    className?: string;
    disabled?: boolean;
    fallback?: (e: Error) => void;
    items?: string[];
    multiple?: boolean;
    onChange?: (items: string[]) => void | Promise<void>;
    onClick?: (item: string) => void | Promise<void>;
    onLoadEnd?: (isOk: boolean) => void;
    onLoadStart?: () => void;
    onRemove?: (item: string) => void | Promise<void>;
    onUpload?: (file: File) => string | Promise<string>;
    style?: any;
    sx?: any;
    throwError?: boolean;
    tr?: (item: string) => string | Promise<string>;
}

Properties

accept?: string
className?: string
disabled?: boolean
fallback?: (e: Error) => void
items?: string[]
multiple?: boolean
onChange?: (items: string[]) => void | Promise<void>
onClick?: (item: string) => void | Promise<void>
onLoadEnd?: (isOk: boolean) => void
onLoadStart?: () => void
onRemove?: (item: string) => void | Promise<void>
onUpload?: (file: File) => string | Promise<string>
style?: any
sx?: any
throwError?: boolean
tr?: (item: string) => string | Promise<string>