import { jsx as _jsx } from "react/jsx-runtime";
import '../../styles/resources.css';
const Dropdown2 = (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 Dropdown2;
//# sourceMappingURL=Dropdown2.js.map