import React, { useRef } from 'react' import { t } from '@/scripts/i18n' import styles from './FileInput.module.scss' interface Props { file: File | null accept?: string onChange(event: React.ChangeEvent): void } const FileInput: React.FC = props => { const ref = useRef(null) const handleClick = () => { ref.current!.click() } return (
) } export default FileInput