From 806e82e85d33c1882c0c7604b16a8049ae20411d Mon Sep 17 00:00:00 2001 From: Joe Fehrman Date: Tue, 2 Jul 2024 09:48:58 -0400 Subject: [PATCH] feat: Updating the type of text size to use only valid sizes. (#1676) --- index.d.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/index.d.ts b/index.d.ts index bd01f37d4..eebefe240 100644 --- a/index.d.ts +++ b/index.d.ts @@ -2574,8 +2574,9 @@ export type TextTableHeaderCellOwnProps = TableCellOwnProps & { export type TextTableHeaderCellProps = PolymorphicBoxProps<'div', TextTableHeaderCellOwnProps> export declare const TextTableHeaderCell: BoxComponent +type TextPropsSize = 300 | 400 | 500 | 600 | 'small' | 'medium' | 'large' export type TextOwnProps = { - size?: Size + size?: TextPropsSize fontFamily?: FontFamily | string }