import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
import "./style.scss";
const FileUpload = ({ labelText, helperText, onChange, accept, width = "m" }) => {
    return (_jsxs("div", { className: 'fileUpload', children: [_jsx("p", { children: labelText }), _jsx("input", { type: "file", accept: accept, onChange: onChange, className: width }), _jsx("p", { children: helperText })] }));
};
export default FileUpload;
