-
-
Notifications
You must be signed in to change notification settings - Fork 32.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[docs] Add docs for typography in system (#23510)
- Loading branch information
1 parent
2ee845a
commit ad42757
Showing
3 changed files
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import * as React from 'react'; | ||
import Box from '@material-ui/core/Box'; | ||
|
||
export default function Variant() { | ||
return ( | ||
<div> | ||
<Box sx={{ typography: 'subtitle2' }}>subtitle2</Box> | ||
<Box sx={{ typography: 'body1' }}>body1</Box> | ||
<Box sx={{ typography: 'body2' }}>body2</Box> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import * as React from 'react'; | ||
import Box from '@material-ui/core/Box'; | ||
|
||
export default function Variant() { | ||
return ( | ||
<div> | ||
<Box sx={{ typography: 'subtitle2' }}>subtitle2</Box> | ||
<Box sx={{ typography: 'body1' }}>body1</Box> | ||
<Box sx={{ typography: 'body2' }}>body2</Box> | ||
</div> | ||
); | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters