File tree Expand file tree Collapse file tree 5 files changed +5
-1
lines changed
src/components/Typography/v2 Expand file tree Collapse file tree 5 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -9,8 +9,8 @@ export type Props = React.ComponentProps<typeof Text> & {
99} ;
1010
1111// @component -group Typography
12-
1312/**
13+ * @deprecated Deprecated in v5.x - use `<Text variant="bodySmall" />` instead.
1414 * Typography component for showing a caption.
1515 *
1616 * <div class="screenshots">
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ export type Props = React.ComponentProps<typeof Text> & {
1111// @component -group Typography
1212
1313/**
14+ * @deprecated Deprecated in v5.x - use `<Text variant="headlineSmall" />` instead.
1415 * Typography component for showing a headline.
1516 *
1617 * <div class="screenshots">
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ export type Props = TextProps & {
1010// @component -group Typography
1111
1212/**
13+ * @deprecated Deprecated in v5.x - use `<Text variant="bodyMedium" />` instead.
1314 * Typography component for showing a paragraph.
1415 *
1516 * <div class="screenshots">
Original file line number Diff line number Diff line change @@ -11,6 +11,7 @@ export type Props = React.ComponentProps<typeof Text> & {
1111// @component -group Typography
1212
1313/**
14+ * @deprecated Deprecated in v5.x - use `<Text variant="titleMedium" />` instead.
1415 * Typography component for showing a subheading.
1516 *
1617 * <div class="screenshots">
Original file line number Diff line number Diff line change @@ -10,6 +10,7 @@ export type Props = React.ComponentProps<typeof Text> & {
1010// @component -group Typography
1111
1212/**
13+ * @deprecated Deprecated in v5.x - use `<Text variant="titleLarge" />` instead.
1314 * Typography component for showing a title.
1415 *
1516 * <div class="screenshots">
You can’t perform that action at this time.
0 commit comments