react-countup icon indicating copy to clipboard operation
react-countup copied to clipboard

useEasing defaults to undefined instead of true

Open solithcy opened this issue 3 years ago • 1 comments

useEasing seems to default to undefined, which contradicts the documentation. This can be seen on https://tr8tk.csb.app.

Example of useEasing defaulting to false

Using React DevTools, we can see that the useEasing argument is set to undefined.

React DevTools

https://github.com/glennreyes/react-countup/blob/1caacde413d9dcad2412d4ead4dd1d9a0ff2f149/README.md?plain=1#L276-L280

solithcy avatar Sep 04 '22 17:09 solithcy

I've created a CodeSandbox using the latest version of react-countup that makes this more obvious Example

solithcy avatar Sep 04 '22 17:09 solithcy