@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.esm.js +2 -2
- package/build/index.esm.js.map +1 -1
- package/build/index.js +2 -2
- package/build/index.js.map +1 -1
- package/package.json +1 -1
package/build/index.esm.js
CHANGED
|
@@ -2159,7 +2159,7 @@ var Styles = function (_a) {
|
|
|
2159
2159
|
var StylesWrap = styled.div(templateObject_1$8 || (templateObject_1$8 = __makeTemplateObject([""], [""])));
|
|
2160
2160
|
var templateObject_1$8;
|
|
2161
2161
|
|
|
2162
|
-
var Typography = function (_a) {
|
|
2162
|
+
var Typography = React__default.memo(function (_a) {
|
|
2163
2163
|
var variant = _a.variant, children = _a.children, mode = _a.mode, color = _a.color, style = _a.style;
|
|
2164
2164
|
var theme = useTheme$1();
|
|
2165
2165
|
var useStyles = makeStyles$1({
|
|
@@ -2520,7 +2520,7 @@ var Typography = function (_a) {
|
|
|
2520
2520
|
});
|
|
2521
2521
|
var classes = useStyles();
|
|
2522
2522
|
return (React__default.createElement(MaterialTypography, { className: classes.root, style: style }, children));
|
|
2523
|
-
};
|
|
2523
|
+
});
|
|
2524
2524
|
|
|
2525
2525
|
var Container = function (_a) {
|
|
2526
2526
|
var children = _a.children, style = _a.style, maxWidth = _a.maxWidth, padding = _a.padding;
|