diff --git a/packages/ui/report.api.md b/packages/ui/report.api.md index 2e0fbe72c5..690b469df3 100644 --- a/packages/ui/report.api.md +++ b/packages/ui/report.api.md @@ -1698,7 +1698,8 @@ export type TextOwnProps = { | 'div' | 'strong' | 'em' - | 'small'; + | 'small' + | 'legend'; variant?: TextVariants | Partial>; weight?: TextWeights | Partial>; color?: diff --git a/packages/ui/src/components/Text/types.ts b/packages/ui/src/components/Text/types.ts index 96f354834c..e0b0e4aa32 100644 --- a/packages/ui/src/components/Text/types.ts +++ b/packages/ui/src/components/Text/types.ts @@ -38,7 +38,8 @@ export type TextOwnProps = { | 'div' | 'strong' | 'em' - | 'small'; + | 'small' + | 'legend'; variant?: TextVariants | Partial>; weight?: TextWeights | Partial>; color?: