"use strict";Object.defineProperty(exports,"__esModule",{value:!0});var e=require("react/jsx-runtime"),r=require("react"),t=require("classnames"),i=require("../Checkbox/Checkbox.js"),s=require("../Menu/MenuItem/MenuItem.js"),m=require("./Autocomplete.scss.js");function u(e){return e&&"object"==typeof e&&"default"in e?e:{default:e}}var a=u(t),c={medium:"small",large:"medium"},l={medium:m.checkboxSmall,large:m.checkboxMedium},n={medium:16,large:24};exports.AutocompleteMenuItem=function(t){var u=t.multiple,d=t.children,o=t.size,x=t.prefix,f=t.selected,h=t.indeterminate,j=t.className;return e.jsx(s.MenuItem,{tagName:"div",size:o,className:a.default(m.menuItem,j),prefix:e.jsxs(e.Fragment,{children:[u&&e.jsx(i.Checkbox,{checked:f,size:c[o],className:l[o],indeterminate:h}),r.isValidElement(x)?r.cloneElement(x,{size:n[o],className:m.iconAffix}):x]}),children:d})};
//# sourceMappingURL=AutocompleteMenuItem.js.map
