import { ReactNode } from 'react';

export interface UploadProps {
  error?: boolean;
  disabled?: boolean;
  sx?: object;
  onDrop: (acceptedFiles: File[]) => void;
  placeholder: ReactNode;
}

export interface FileWithPreview extends File {
  preview?: string;
  serverFileName?: string;
}