import{j as r}from"./iframe-p4aYZyoq.js";import{c as s}from"./index-Dx18ixSn.js";const b=({children:e,size:u="medium",className:l,...i})=>{let a;return e!==void 0&&Number.isFinite(e)&&(a=Math.round(e*10)/10),e!==void 0&&e>99&&(a="99+"),r.jsx("span",{className:s(l,`bubble--${u}`),...i,children:a})};try{bubble.displayName="bubble",bubble.__docgenInfo={description:"",displayName:"bubble",props:{children:{defaultValue:null,description:"The number to display",name:"children",required:!1,type:{name:"number"}},size:{defaultValue:{value:"medium"},description:"The bubble size (default is medium)",name:"size",required:!1,type:{name:"enum",value:[{value:'"small"'},{value:'"medium"'},{value:'"large"'}]}}}}}catch{}export{b as B};
