Skip to content

Commit

Permalink
feat: Updating the type of text size to use only valid sizes.
Browse files Browse the repository at this point in the history
  • Loading branch information
cogwizzle committed Jul 2, 2024
1 parent cce2742 commit e43b311
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2574,8 +2574,9 @@ export type TextTableHeaderCellOwnProps = TableCellOwnProps & {
export type TextTableHeaderCellProps = PolymorphicBoxProps<'div', TextTableHeaderCellOwnProps>
export declare const TextTableHeaderCell: BoxComponent<TextTableHeaderCellOwnProps, 'div'>

type TextPropsSize = 300 | 400 | 500 | 600 | 'small' | 'medium' | 'large'
export type TextOwnProps = {
size?: Size
size?: TextPropsSize
fontFamily?: FontFamily | string
}

Expand Down

0 comments on commit e43b311

Please sign in to comment.