import { jsx as _jsx } from "react/jsx-runtime";
import '../resources.css';
const Arrayinput = (props) => {
    return (_jsx("div", { className: "dropdown2-wrapper", children: _jsx("select", { className: "dropdown2-input", onChange: (e) => props.eventHandler({ name: "onselect", data: e.target.value, triggerBy: "dropdown" }), value: props.value, children: props.options.map((item) => _jsx("option", { className: "dropdown2-option", value: item.value, children: item.label })) }) }));
};
export default Arrayinput;
//# sourceMappingURL=Arrayinput.js.map