diff --git a/docs/data/joy/components/typography/TypographyUsage.js b/docs/data/joy/components/typography/TypographyUsage.js new file mode 100644 index 00000000000000..20c8f46c7f5532 --- /dev/null +++ b/docs/data/joy/components/typography/TypographyUsage.js @@ -0,0 +1,62 @@ +import * as React from 'react'; +import JoyUsageDemo from 'docs/src/modules/components/JoyUsageDemo'; +import Typography from '@mui/joy/Typography'; +import { Box } from '@mui/joy'; + +export default function TypographyUsages() { + return ( + ( + + {props.children} + + )} + /> + ); +} diff --git a/docs/data/joy/components/typography/typography.md b/docs/data/joy/components/typography/typography.md index f9f4ed17e52db4..0dff85e5d5bdb6 100644 --- a/docs/data/joy/components/typography/typography.md +++ b/docs/data/joy/components/typography/typography.md @@ -13,6 +13,8 @@ githubLabel: 'component: Typography' The Typography component helps maintain a consistent design by providing a limited set of values to choose from and convenient props for building common designs faster. +{{"demo": "TypographyUsage.js", "hideToolbar": true, "bg": "gradient"}} + ## Basics ```jsx