stanleyxu2005 / react-checkmark

Animated checkmark for React
Apache License 2.0
29 stars 5 forks source link

fix #4: The property `size` must be predefined named size or size wit… #7

Closed stanleyxu2005 closed 3 years ago

stanleyxu2005 commented 3 years ago

Thanks @charan1973 help, I can reproduce the issue now. It is a bit hard for me to support number for property size. I decided to remove the number support. So from now on, you need to specify 192px instead of 192. I think this makes sense to remove the warning. But if you dont care about the warning, 192 should still work for you.