Skip to content

Commit

Permalink
update missing size type
Browse files Browse the repository at this point in the history
  • Loading branch information
mimarz committed Jan 7, 2025
1 parent 70d8e79 commit b27c013
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion packages/react/src/components/Heading/Heading.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b27c013

Please sign in to comment.