Skip to content

Commit f35741c

Browse files
committed
Rename Global class column name to Default class
1 parent 420ad47 commit f35741c

File tree

3 files changed

+7
-6
lines changed

3 files changed

+7
-6
lines changed

docs/src/modules/components/ApiPage.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ function SlotsTable(props) {
6666
<thead>
6767
<tr>
6868
<th align="left">{t('api-docs.name')}</th>
69-
<th align="left">{t('api-docs.globalClass')}</th>
69+
<th align="left">{t('api-docs.defaultClass')}</th>
7070
<th align="left">{t('api-docs.default')}</th>
7171
<th align="left">{t('api-docs.description')}</th>
7272
</tr>
@@ -80,8 +80,8 @@ function SlotsTable(props) {
8080
</td>
8181
<td align="left" width="25%">
8282
<span
83-
className="slot-globalClass"
84-
dangerouslySetInnerHTML={{ __html: className || 'ADASDASDASDASDASD' }}
83+
className="slot-defaultClass"
84+
dangerouslySetInnerHTML={{ __html: className }}
8585
/>
8686
</td>
8787
<td align="left" width="25%">

docs/src/modules/components/MarkdownElement.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ const Root = styled('div')(
187187
borderCollapse: 'collapse',
188188
marginBottom: '20px',
189189
borderSpacing: 0,
190-
'& .prop-name, & .prop-type, & .prop-default, & .slot-name, & .slot-globalClass, & .slot-default':
190+
'& .prop-name, & .prop-type, & .prop-default, & .slot-name, & .slot-defaultClass, & .slot-default':
191191
{
192192
fontWeight: 400,
193193
fontFamily: lightTheme.typography.fontFamilyCode,
@@ -200,7 +200,7 @@ const Root = styled('div')(
200200
'& .optional': {
201201
color: '#45529f',
202202
},
203-
'& .prop-type, & .slot-globalClass': {
203+
'& .prop-type, & .slot-defaultClass': {
204204
color: '#932981',
205205
},
206206
'& .prop-default, & .slot-default': {
@@ -492,7 +492,7 @@ const Root = styled('div')(
492492
'& .optional': {
493493
color: '#a5b3ff',
494494
},
495-
'& .prop-type, & .slot-globalClass': {
495+
'& .prop-type, & .slot-defaultClass': {
496496
color: '#ffb6ec',
497497
},
498498
'& .prop-default, & .slot-default': {

docs/translations/translations.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
"deprecated": "Deprecated",
1010
"description": "Description",
1111
"globalClass": "Global class",
12+
"defaultClass": "Default class",
1213
"hooksPageDescription": "API reference docs for the {{name}} hook. Learn about the input parameters and other APIs of this exported module.",
1314
"import": "Import",
1415
"importDifference": "You can learn about the difference by <a href=\"/material-ui/guides/minimizing-bundle-size/\">reading this guide on minimizing bundle size</a>.",

0 commit comments

Comments
 (0)