import{jsx as e,jsxs as m,Fragment as i}from"react/jsx-runtime";import{isValidElement as r,cloneElement as s}from"react";import t from"classnames";import{Checkbox as a}from"../Checkbox/Checkbox.js";import{MenuItem as c}from"../Menu/MenuItem/MenuItem.js";import o from"./Autocomplete.scss.js";var l={medium:"small",large:"medium"},n={medium:o.checkboxSmall,large:o.checkboxMedium},u={medium:16,large:24},d=function(d){var f=d.multiple,p=d.children,x=d.size,h=d.prefix,k=d.selected,N=d.indeterminate,b=d.className;return e(c,{tagName:"div",size:x,className:t(o.menuItem,b),prefix:m(i,{children:[f&&e(a,{checked:k,size:l[x],className:n[x],indeterminate:N}),r(h)?s(h,{size:u[x],className:o.iconAffix}):h]}),children:p})};export{d as AutocompleteMenuItem};
//# sourceMappingURL=AutocompleteMenuItem.js.map
