import { DropzoneOptions, FileRejection } from 'react-dropzone'; import { ReactNode } from 'react'; import { CardBackgroundProps } from '../CardBackground/CardBackground'; export type AttachInputStatus = "default" | "error" | "success"; export interface AttachInputProps extends Omit { onFilesAccepted?: (files: File[]) => void; onFilesRejected?: (rejectedFiles: FileRejection[]) => void; className?: string; label?: string; subtitle?: string; acceptedFormats?: string; status?: AttachInputStatus; supportingText?: ReactNode | (() => ReactNode); showSupportingText?: boolean; disabled?: boolean; cardBackground?: Omit; }