ywana-core8 0.0.884 → 0.0.885

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.
@@ -840,12 +840,15 @@ var MenuItem = function MenuItem(props) {
840
840
  }
841
841
  }
842
842
  var style = disabled ? "disabled" : "";
843
+ var labelTxt = label ? /*#__PURE__*/React.createElement(Text, {
844
+ format: TEXTFORMATS.STRING
845
+ }, label) : null;
843
846
  return /*#__PURE__*/React.createElement("li", {
844
847
  className: "menu-item " + style,
845
848
  onClick: select
846
849
  }, icon ? /*#__PURE__*/React.createElement(Icon, {
847
850
  icon: icon
848
- }) : null, /*#__PURE__*/React.createElement("label", null, label), meta ? /*#__PURE__*/React.createElement("div", {
851
+ }) : null, /*#__PURE__*/React.createElement("label", null, labelTxt), meta ? /*#__PURE__*/React.createElement("div", {
849
852
  className: "meta"
850
853
  }, meta) : null);
851
854
  };