Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

is useCountUp removed in 4.2.5 ? #234

Closed
geryit opened this issue Dec 9, 2019 · 3 comments · Fixed by #236 or #240
Closed

is useCountUp removed in 4.2.5 ? #234

geryit opened this issue Dec 9, 2019 · 3 comments · Fixed by #236 or #240

Comments

@geryit
Copy link

geryit commented Dec 9, 2019

No description provided.

@mmarkelov
Copy link
Collaborator

@geryit it was some issues with ts definition. Could please check 4.2.6 version?

@geryit
Copy link
Author

geryit commented Dec 10, 2019

@mmarkelov yes with ts definition. I upgraded to 4.2.6 but now I see this:
Screen Shot 2019-12-10 at 9 15 53 AM

Can you add start to types too?

This is how I use it:

const {countUp, start} = useCountUp({
    start: 0,
    end,
    delay: 500,
    duration: 2.75,
    decimals: 1,
    decimal: ".",
  });

@mmarkelov mmarkelov reopened this Dec 10, 2019
@mmarkelov
Copy link
Collaborator

@geryit thank you! I'll try to fix it today :(

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants