import{__assign as e}from"tslib";import{jsxs as o,jsx as l}from"react/jsx-runtime";var n=function(n){var a=n.value,i=n.onChange,r=n.options,t=n.placeholder,d=n.isHighlighted,s=n.readOnly;return o("select",e({value:a,onChange:i,className:"dropdown",disabled:s,style:{transition:"all 0.4s ease-in-out",border:d?"1px solid #2563EB":"1px solid #ccc",boxShadow:d?"0 0 14px 4px rgba(37, 99, 235, 0.35)":"none",outline:"none"}},{children:[l("option",e({value:"",disabled:!0},{children:t})),r.map(function(o,n){return l("option",e({value:o.value||o.label},{children:o.label}),n)})]}))};export{n as Dropdown};
//# sourceMappingURL=Dropdown.js.map
