import{objectSpread2 as e}from"../../_virtual/_rollupPluginBabelHelpers.esm.js";import{Autocomplete as n,TextField as a}from"@mui/material";import"react";import{jsx as r}from"react/jsx-runtime";var t=function(t){return r(n,{options:t.options,getOptionLabel:function(e){return e.label},name:t.name,isOptionEqualToValue:function(e,n){return e.value===n.value},onChange:function(e,n){n?t.onChange({target:{name:t.name,value:n.value}}):t.onChange({target:{name:t.name,value:""}})},readOnly:t.readOnly,renderInput:function(n){return r(a,e(e({id:"outlined-flexible",variant:t.variant,InputLabelProps:{shrink:null==t?void 0:t.shrink,required:t.required}},n),{},{label:t.label}))}})};export{t as AutocompleteComponent,t as default};
//# sourceMappingURL=AutocompleteComponent.esm.js.map
