Skip to content

Commit

Permalink
[dos][joy] Updated Typography callout at getting started (#38289)
Browse files Browse the repository at this point in the history
  • Loading branch information
zanivan authored Aug 2, 2023
1 parent 888b318 commit 8db6cf2
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions docs/data/joy/getting-started/tutorial/tutorial.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,13 +87,12 @@ To go deeper, read about the `sx` prop in the [MUI System documentation](/system

The [Typography](/joy-ui/react-typography/) component replaces HTML header, paragraph, and span tags to help maintain a consistent hierarchy of text on the page.

:::info
The `level` prop gives you access to a pre-defined scale of typographic values.
Joy UI provides 13 typographic levels out of the box:
Joy UI provides 11 typographic levels out of the box.

`display1 | display2 | h1 | h2 | h3 | h4 | h5 | h6 | body1 | body2 | body3 | body4 | body5`

:::
- Four heading levels: `'h1' | 'h2' | 'h3' | 'h4'`
- Three title levels: `'title-lg' | 'title-md' | 'title-sm'`
- Four body levels: `'body-lg' | 'body-md' | 'body-sm' | 'body-xs'`

Add an import for Typography with the rest of your imports:

Expand Down

0 comments on commit 8db6cf2

Please sign in to comment.