import e from"../../node_modules/classnames/index.js";import o from"react";import{Circle as r}from"../../node_modules/@phosphor-icons/react/dist/csr/Circle.js";import i from"./IconBadge.module.scss.js";import s from"../colors.js";import{bindIcon as t}from"./bindIcon.js";const n=t(r,{weight:"fill"}),c=({iconBackground:r=n,border:t=0,borderColor:c,icon:l,colorForeground:a=s.white,sizeForeground:d="50%",size:m="1rem",...p})=>o.createElement("span",{className:e("d-inline-flex","flex-shrink-0","align-items-center","justify-content-center","position-relative"),style:m?{height:m,width:m}:void 0},o.createElement(r,{className:e("position-absolute",{[i.borderStroke]:c}),...p,size:"100%",style:c?{"--icon-badge-border-color":c,"--icon-badge-border-width":t}:void 0}),o.createElement(l,{className:"position-relative",color:a,size:d}));export{c as default};
//# sourceMappingURL=IconBadge.js.map
