"use strict";const B=require("react/jsx-runtime"),b=require("react"),s=require("../tools/tools.cjs"),c=function(d){const{as:i="span",className:a,dropOldClass:n,rounded:t,style:o,variables:r,variant:e,variantType:l,...u}=d,g=b.useMemo(()=>{const y=s.classx(!n&&"badge",e&&(l==="bg"?`bg-${e}`:`text-bg-${e}`),t&&s.resolveRoundedClass(t),a),m=s.stylex((x,p)=>({tKey:s.convertBsKeyToVar(p)}),r,o);return{className:y,style:m}},[a,n,t,o,r,e,l]);return B.jsx(i,{...u,...g})};c.displayName="BRL.Badge";exports.Badge=c;
//# sourceMappingURL=badge.cjs.map
