import{a9 as e,a6 as j,T as A,C}from"./index-BiWH3VAt.js";function z({label:n,options:r,value:s,onChange:t,getOptionLabel:a,renderOption:p,loading:o=!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:o,value:s,onChange:t,options:r,getOptionLabel:a,groupBy:c,renderOption:p,disableClearable:h,popupIcon:b,clearIcon:g,sx:{...m},renderInput:l=>e.jsx(A,{...l,label:n,placeholder:x,size:f,...I,InputProps:{...l.InputProps,endAdornment:e.jsxs(e.Fragment,{children:[o&&e.jsx(C,{color:"inherit",size:20}),l.InputProps.endAdornment]})}})})}export{z as A};
