/// import { Crop } from 'react-image-crop'; import { FieldProps } from 'formik'; export interface ImageDropProps extends FieldProps { className?: string; classes?: { root?: string; main?: string; button?: string; }; label?: string; optional?: boolean | string; buttonText?: string; fixedCrop: Partial; hideDragText?: boolean; onDelete?: (fileName: string) => Promise; onUpload?: (imageFile: File) => Promise; } /** * Drop an Image File and the Crop Modal will open with your image */ declare function ImageDrop({ className, classes, label, optional, buttonText, fixedCrop, hideDragText, onUpload, onDelete, ...fieldProps }: ImageDropProps): JSX.Element; export { ImageDrop };