ywana-core8 0.0.883 → 0.0.884

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.
package/dist/index.cjs CHANGED
@@ -1054,13 +1054,16 @@ var Tab = function Tab(props) {
1054
1054
  if (onSelect) onSelect(id);
1055
1055
  }
1056
1056
  var style = selected ? "selected" : "";
1057
+ var labelTxt = label ? /*#__PURE__*/React__default["default"].createElement(Text, {
1058
+ format: TEXTFORMATS.STRING
1059
+ }, label) : null;
1057
1060
  return /*#__PURE__*/React__default["default"].createElement("div", {
1058
1061
  className: "tab " + style,
1059
1062
  onClick: select
1060
1063
  }, icon ? /*#__PURE__*/React__default["default"].createElement(Icon, {
1061
1064
  icon: icon,
1062
1065
  size: "small"
1063
- }) : null, label, actions ? actions : null);
1066
+ }) : null, labelTxt, actions ? actions : null);
1064
1067
  };
1065
1068
 
1066
1069
  /**