Skip to content

Commit

Permalink
Deleted default size type on getStyleByTypography
Browse files Browse the repository at this point in the history
  • Loading branch information
pablonortiz committed Feb 17, 2025
1 parent af18adf commit 457085d
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const hasDefault = (category: any): category is {default: TypographyItem} => {

const getStyleByTypography = (
type: TypographyType | string,
size: TypographySize | string = 'default',
size: TypographySize | string,
color?: string
) => {
if (!type || !validTypes.includes(type as TypographyType)) {
Expand Down

0 comments on commit 457085d

Please sign in to comment.