From b27c013da04f4189f814d7c59d5c84c183b431d8 Mon Sep 17 00:00:00 2001 From: Michael Marszalek Date: Tue, 7 Jan 2025 14:38:32 +0100 Subject: [PATCH] update missing size type --- packages/react/src/components/Heading/Heading.tsx | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/packages/react/src/components/Heading/Heading.tsx b/packages/react/src/components/Heading/Heading.tsx index b17bd6d865..34c827c509 100644 --- a/packages/react/src/components/Heading/Heading.tsx +++ b/packages/react/src/components/Heading/Heading.tsx @@ -11,7 +11,15 @@ export type HeadingProps = { level?: 1 | 2 | 3 | 4 | 5 | 6; /** Changes text sizing */ - 'data-size'?: '2xs' | 'xs' | 'sm' | 'md' | 'lg' | 'xl' | '2xl'; + 'data-size'?: + | '2xs' + | 'xs' + | 'sm' + | 'md' + | 'lg' + | 'xl' + | '2xl' + | (string & {}); /** * Change the default rendered element for the one passed as a child, merging their props and behavior. * @default false