Closed mtnptrsn closed 6 years ago
When passing a number to the size prop in the Text component I get this error: Type 'number' is not assignable to type '"sm" | "base" | "lg" | "xl" | "md"'
Type 'number' is not assignable to type '"sm" | "base" | "lg" | "xl" | "md"'
It is possible to add a number but the type is incorrect.
Perfect I will fix this, thank you
@mtnptrsn which version are you using ?
@EQuimper Sorry I was using an old version!
When passing a number to the size prop in the Text component I get this error:
Type 'number' is not assignable to type '"sm" | "base" | "lg" | "xl" | "md"'
It is possible to add a number but the type is incorrect.