Skip to content

Commit 54a9f49

Browse files
author
github-actions
committed
push build files [skip ci]
1 parent 7ad5d94 commit 54a9f49

File tree

2 files changed

+9
-0
lines changed

2 files changed

+9
-0
lines changed

lib/cjs/theme/components/MuiLink.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,20 @@ var __assign = (this && this.__assign) || function () {
1010
};
1111
return __assign.apply(this, arguments);
1212
};
13+
var __importDefault = (this && this.__importDefault) || function (mod) {
14+
return (mod && mod.__esModule) ? mod : { "default": mod };
15+
};
1316
Object.defineProperty(exports, "__esModule", { value: true });
1417
var helpers_1 = require("../../helpers");
18+
var typography_1 = __importDefault(require("../typography"));
1519
var MuiLink = {
1620
defaultProps: {
1721
underline: 'none',
1822
color: 'inherit'
1923
},
2024
styleOverrides: {
2125
root: function (_a) {
26+
var _b;
2227
var ownerState = _a.ownerState;
2328
return (__assign(__assign({ cursor: 'pointer' }, ((0, helpers_1.includesClassNames)(ownerState, ['no-decor'])
2429
? {
@@ -33,6 +38,7 @@ var MuiLink = {
3338
}
3439
})), ((0, helpers_1.includesClassNames)(ownerState, ['back-to']) && {
3540
textDecoration: 'none',
41+
marginBottom: (_b = typography_1.default.body1) === null || _b === void 0 ? void 0 : _b.marginBottom,
3642
':hover': {
3743
fontWeight: 'bold',
3844
textDecoration: 'underline'

lib/esm/theme/components/MuiLink.js

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,13 +10,15 @@ var __assign = (this && this.__assign) || function () {
1010
return __assign.apply(this, arguments);
1111
};
1212
import { includesClassNames } from '../../helpers';
13+
import typography from '../typography';
1314
var MuiLink = {
1415
defaultProps: {
1516
underline: 'none',
1617
color: 'inherit'
1718
},
1819
styleOverrides: {
1920
root: function (_a) {
21+
var _b;
2022
var ownerState = _a.ownerState;
2123
return (__assign(__assign({ cursor: 'pointer' }, (includesClassNames(ownerState, ['no-decor'])
2224
? {
@@ -31,6 +33,7 @@ var MuiLink = {
3133
}
3234
})), (includesClassNames(ownerState, ['back-to']) && {
3335
textDecoration: 'none',
36+
marginBottom: (_b = typography.body1) === null || _b === void 0 ? void 0 : _b.marginBottom,
3437
':hover': {
3538
fontWeight: 'bold',
3639
textDecoration: 'underline'

0 commit comments

Comments
 (0)