infinity-forge
Version:
32 lines (31 loc) • 939 B
TypeScript
import { InputProps, DragAndDropListProps } from '../../../../ui/index.js';
export type UploadOptions = {
version?: 'v1' | 'v2' | 'v3';
apiUrl?: string;
auth?: boolean;
email?: string;
token?: string;
password?: string;
disableWebpConversion?: boolean;
providers?: {
googleDrive?: {
enabled: boolean;
};
};
};
export type InputFileProps = {
upload?: UploadOptions;
inputFileConfigurations?: {
styleVersion?: 'v1' | 'v2';
};
isLocalFile?: boolean;
sizeImageFile?: string;
sizeImageFileMobile?: string;
enableMobileImage?: boolean;
isAccumalativeFile?: boolean;
maxItemWidth?: DragAndDropListProps<any>['maxItemWidth'];
omitSelectFile?: boolean;
onDeleteFile?: (file: any) => void;
maxFileSizeKB?: number;
};
export declare function InputFile(props: InputProps & InputFileProps): import("react/jsx-runtime").JSX.Element;