import{j as r,bf as o,bg as t,bh as x,bi as m}from"./vendor-ClLR6ncd.js";import{M as b}from"./MenuItem-CCerWMyq.js";function p({items:s,helperText:n,label:e,fullWidth:i=!0,sx:u,...l}){const d=`${e}-id`;return r.jsxs(o,{sx:{pr:2,"& .MuiInputLabel-root":{ml:"-14px"},...u},fullWidth:i,required:l.required,error:l.error,size:"small",children:[e?r.jsx(t,{id:d,children:e}):null,r.jsx(x,{labelId:d,variant:"standard",...l,children:s.map(a=>r.jsx(b,{disabled:a.disabled,value:a.value,children:a.label},a.value))}),n?r.jsx(m,{children:n}):null]})}export{p as S};
