import{ao as e,ab as j,T as A,C}from"./index-DlNZgIG9.js";function z({label:n,options:r,value:s,onChange:t,getOptionLabel:a,renderOption:p,loading:l=!1,multiple:i=!1,disabled:u=!1,freeSolo:d=!1,groupBy:c,size:f="small",placeholder:x,sx:m={},textFieldProps:I={},popupIcon:b,clearIcon:g,disableClearable:h=!1}){return e.jsx(j,{fullWidth:!0,multiple:i,disabled:u,freeSolo:d,loading:l,value:s,onChange:t,options:r,getOptionLabel:a,groupBy:c,renderOption:p,disableClearable:h,popupIcon:b,clearIcon:g,sx:{...m},renderInput:o=>e.jsx(A,{...o,label:n,placeholder:x,size:f,...I,InputProps:{...o.InputProps,endAdornment:e.jsxs(e.Fragment,{children:[l&&e.jsx(C,{color:"inherit",size:20}),o.InputProps.endAdornment]})}})})}export{z as A};
