Closed boyuanx closed 3 years ago
Hi @boyuanx. Thank you for the feedback. Expectedly the fix https://github.com/stanleyxu2005/react-checkmark/commit/7c051bbc3bf6e5a0251d4160cc38e8ab4f35cf7a can remove the annoying warning. Please upgrade to v1.3.0
.
@stanleyxu2005 I am still getting the same error in v1.3.0
unfortunately.
same with me still getting error already update to v1.3.0
Create you @conioX @boyuanx give an example on Codepen that I can test with?
Here's a code sandbox link - https://codesandbox.io/s/musing-buck-hr4b4?file=/src/App.js Check the console once you're there.
I acknowledged this issue. In v1.4.0
, you need to change number size to string size. For example size={192}
now needs to be size='192px'
. This solves the problem. @boyuanx @charan1973 @ghost
I acknowledged this issue. In
v1.4.0
, you need to change number size to string size. For examplesize={192}
now needs to besize='192px'
. This solves the problem. @boyuanx @charan1973 @ghost
I'll use the string size. Thank you for the fix.
When using Checkmark as:
<Checkmark size="xxLarge" />
or<Checkmark size={96} />
I get the following error: