@mantine/dropzone
Version:
Dropzone component built with Mantine theme and components
30 lines (29 loc) • 1.76 kB
TypeScript
export declare const MIME_TYPES: {
readonly png: "image/png";
readonly gif: "image/gif";
readonly jpeg: "image/jpeg";
readonly svg: "image/svg+xml";
readonly webp: "image/webp";
readonly avif: "image/avif";
readonly heic: "image/heic";
readonly heif: "image/heif";
readonly mp4: "video/mp4";
readonly zip: "application/zip";
readonly rar: "application/x-rar";
readonly '7z': "application/x-7z-compressed";
readonly csv: "text/csv";
readonly pdf: "application/pdf";
readonly doc: "application/msword";
readonly docx: "application/vnd.openxmlformats-officedocument.wordprocessingml.document";
readonly xls: "application/vnd.ms-excel";
readonly xlsx: "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet";
readonly ppt: "application/vnd.ms-powerpoint";
readonly pptx: "application/vnd.openxmlformats-officedocument.presentationml.presentation";
readonly exe: "application/vnd.microsoft.portable-executable";
};
export declare const IMAGE_MIME_TYPE: ("image/png" | "image/gif" | "image/jpeg" | "image/svg+xml" | "image/webp" | "image/avif" | "image/heic" | "image/heif")[];
export declare const PDF_MIME_TYPE: "application/pdf"[];
export declare const MS_WORD_MIME_TYPE: ("application/msword" | "application/vnd.openxmlformats-officedocument.wordprocessingml.document")[];
export declare const MS_EXCEL_MIME_TYPE: ("application/vnd.ms-excel" | "application/vnd.openxmlformats-officedocument.spreadsheetml.sheet")[];
export declare const MS_POWERPOINT_MIME_TYPE: ("application/vnd.ms-powerpoint" | "application/vnd.openxmlformats-officedocument.presentationml.presentation")[];
export declare const EXE_MIME_TYPE: "application/vnd.microsoft.portable-executable"[];