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