@yosgo/swap-ui 1.0.135 → 1.0.137

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/build/index.js CHANGED
@@ -2164,7 +2164,7 @@ var Styles = function (_a) {
2164
2164
  var StylesWrap = styled.div(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject([""], [""])));
2165
2165
  var templateObject_1$8;
2166
2166
 
2167
- var Typography = function (_a) {
2167
+ var Typography = React__default.memo(function (_a) {
2168
2168
  var variant = _a.variant, children = _a.children, mode = _a.mode, color = _a.color, style = _a.style;
2169
2169
  var theme = core.useTheme();
2170
2170
  var useStyles = core.makeStyles({
@@ -2525,7 +2525,7 @@ var Typography = function (_a) {
2525
2525
  });
2526
2526
  var classes = useStyles();
2527
2527
  return (React__default.createElement(MaterialTypography, { className: classes.root, style: style }, children));
2528
- };
2528
+ });
2529
2529
 
2530
2530
  var Container = function (_a) {
2531
2531
  var children = _a.children, style = _a.style, maxWidth = _a.maxWidth, padding = _a.padding;