import { DangerButton } from "$/component/button"; import type { FileInputProps } from "$/types/InputTypes"; import { humanReadableBytes } from "$/util/FileUtil"; import clsx from "clsx"; import { useRef, useState } from "react"; import { MdClose } from "react-icons/md"; export default function DragAndDropFileInput({ id, className, name, ariaLabel, minSize, maxSize, showFileName = true, showSize = true, onChange, disabled, children }: Readonly){ const [ file, setFile ] = useState(); const inputRef = useRef(null); return ( ); }