import{dq as c,dm as e}from"./index-DjbVAZHL.js";const n=c.memo(s=>{const{label:l,detail:a,onChange:t,children:d,...r}=s;return e.jsxs("fieldset",{className:"fieldset",children:[l&&e.jsxs("legend",{className:"fieldset-legend",children:[l,s.required?" *":""]}),e.jsx("select",{className:`select ${s.required?"validator":""}`,onChange:t,...r,children:d}),a&&e.jsx("span",{className:"label",children:a})]})});export{n as S};
