@rolster/react-components 19.13.0 → 19.14.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1604,7 +1604,7 @@ function RlsTab({ disabled, onSelect, tab, value }) {
1604
1604
  onSelect(tab.value);
1605
1605
  }
1606
1606
  }, [disabled, tab.disabled, onSelect]);
1607
- return (jsxRuntimeExports.jsx("div", { className: className, onClick: onClick, children: jsxRuntimeExports.jsx("span", { children: tab.label }) }));
1607
+ return (jsxRuntimeExports.jsxs("div", { className: className, onClick: onClick, children: [jsxRuntimeExports.jsx("span", { children: tab.label }), tab.badge && (jsxRuntimeExports.jsx(RlsBadge, { rlsTheme: tab.badge.rlsTheme, contrasted: tab.badge.contrasted, children: tab.badge.label }))] }));
1608
1608
  }
1609
1609
  function RlsTabsComponent({ tabs, formControl, rlsSize, onValue, value, rlsTheme }) {
1610
1610
  const [valueInternal, setValueInternal] = require$$0.useState();