import{ao as n,at as a,a_ as c,aQ as l}from"./app-k0jcl5PQ.js";const s="_option_1pmb2_1",r="_iconBase_1pmb2_7",d="_largeIcon_1pmb2_15",m="_text_1pmb2_18",i={option:s,iconBase:r,largeIcon:d,text:m};x.defaultProps={fontSize:"std"};function x(t){let e=`${i.option} rounded-3 px-1 mb-2`;t.enableHighlight&&t.isSelected&&(e+=" bg-light-blue"),t.isSelected&&(e+=" border-info"),t.disabled&&(e+=" text-secondary cursor-default");const o=n.jsxs(a,{onClick:t.onClick,className:e,children:[n.jsx(c,{svg:t.icon,className:`svg-container ${i.iconBase} ${t.iconSize==="large"?i.largeIcon:""} ${t.iconClassName||""}`}),n.jsx("h3",{className:`fw-normal w-100 px-2 text-center ${i.text} ${t.fontSize==="std"?"h6":"font-size-normal"} ${t.iconSize==="large"?"pt-2":""}`,children:t.name})]});return t.tooltip?n.jsx(l,{title:t.tooltip,spanHack:!0,children:o}):o}export{x as O};
//# sourceMappingURL=DhqTzqky.chunk.js.map
