26 lines
604 B
TypeScript
Executable File
26 lines
604 B
TypeScript
Executable File
import { ManagedClasses } from "@microsoft/fast-jss-manager-react";
|
|
|
|
/**
|
|
* Class name contract for the component
|
|
*/
|
|
export interface DropzoneUploadClassNameContract {
|
|
dropzoneUpload?: string;
|
|
dropzoneUpload_image?: string;
|
|
dropzoneUpload_details?: string;
|
|
dropzoneUpload_error?: string;
|
|
dropzoneUpload_progress?: string;
|
|
dropzoneUpload_icon?: string;
|
|
}
|
|
|
|
/**
|
|
* Props for the component
|
|
*/
|
|
export interface DropzoneUploadProps
|
|
extends ManagedClasses<DropzoneUploadClassNameContract> {
|
|
key: string;
|
|
file: File;
|
|
rejected: boolean;
|
|
preview?: string;
|
|
onRemoveRequest?: () => void;
|
|
}
|