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.
@@ -1045,13 +1045,16 @@ var Tab = function Tab(props) {
1045
1045
  if (onSelect) onSelect(id);
1046
1046
  }
1047
1047
  var style = selected ? "selected" : "";
1048
+ var labelTxt = label ? /*#__PURE__*/React.createElement(Text, {
1049
+ format: TEXTFORMATS.STRING
1050
+ }, label) : null;
1048
1051
  return /*#__PURE__*/React.createElement("div", {
1049
1052
  className: "tab " + style,
1050
1053
  onClick: select
1051
1054
  }, icon ? /*#__PURE__*/React.createElement(Icon, {
1052
1055
  icon: icon,
1053
1056
  size: "small"
1054
- }) : null, label, actions ? actions : null);
1057
+ }) : null, labelTxt, actions ? actions : null);
1055
1058
  };
1056
1059
 
1057
1060
  /**