1import{j as r,a2 as s}from"./index-1ZwnxBtP.js";import{B as n}from"./Dropdown-Za-Ta5Bo.js";import"./ThemeProvider-DppOPtX1.js";function d({onSelected:l,opts:o,selected:t,direction:i}){var a;const p=(a=o.find(e=>e.value==t))==null?void 0:a.label;return r.jsxs(n,{drop:i,children:[r.jsx(n.Toggle,{as:"button",className:"btn btn-link btn-sm px-0",children:r.jsx("span",{children:p})}),r.jsx(n.Menu,{children:o.map(e=>r.jsx(n.Item,{onClick:()=>l(e.value),children:e.label},String(e.value)))})]})}d.propTypes={opts:s.array.isRequired,selected:s.any.isRequired,onSelected:s.func.isRequired};export{d as default}; 2//# sourceMappingURL=Dropdown_Internal-D4MRpvyJ.js.map
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.