Skip to content

Commit 806e82e

Browse files
authored
feat: Updating the type of text size to use only valid sizes. (#1676)
1 parent cce2742 commit 806e82e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

index.d.ts

+2-1
Original file line numberDiff line numberDiff line change
@@ -2574,8 +2574,9 @@ export type TextTableHeaderCellOwnProps = TableCellOwnProps & {
25742574
export type TextTableHeaderCellProps = PolymorphicBoxProps<'div', TextTableHeaderCellOwnProps>
25752575
export declare const TextTableHeaderCell: BoxComponent<TextTableHeaderCellOwnProps, 'div'>
25762576

2577+
type TextPropsSize = 300 | 400 | 500 | 600 | 'small' | 'medium' | 'large'
25772578
export type TextOwnProps = {
2578-
size?: Size
2579+
size?: TextPropsSize
25792580
fontFamily?: FontFamily | string
25802581
}
25812582

0 commit comments

Comments
 (0)