import{ar as e,af as j,T as A,C}from"./index-ktJf6c6X.js";function z({label:r,options:n,value:s,onChange:t,getOptionLabel:a,renderOption:p,loading:o=!1,multiple:i=!1,disabled:u=!1,freeSolo:d=!1,groupBy:f,size:c="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:n,getOptionLabel:a,groupBy:f,renderOption:p,disableClearable:h,popupIcon:b,clearIcon:g,sx:{...m},renderInput:l=>e.jsx(A,{...l,label:r,placeholder:x,size:c,...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};
