Closed neoddish closed 4 years ago
The incoming fontWeight is likely to be a number (like 500) instead of a string ('500'), or even other things... example
500
'500'
Maybe it would be safer to avoid these cases in a proactive way.
Implementation updated.
Perfect, thanks!
The incoming fontWeight is likely to be a number (like
500
) instead of a string ('500'
), or even other things... exampleMaybe it would be safer to avoid these cases in a proactive way.