import * as React from 'react';
export default function FileInput({ accept, 'data-test-id': dataTestId, label, onChange }) {
    return (React.createElement("div", { className: 'Input__wrapper' },
        React.createElement("label", { className: 'Input__label' }, label),
        React.createElement("input", { accept: accept, className: 'Input__input', "data-test-id": dataTestId, onChange: (e) => onChange(e.target.files), type: 'file' })));
}
//# sourceMappingURL=FileInput.js.map