💫 A configurable React component wrapper around CountUp.js
MIT License
https://github.com/glennreyes/react-countup/compare/v6.5.2...v6.5.3
https://github.com/glennreyes/react-countup/compare/v6.5.1...v6.5.2
https://github.com/glennreyes/react-countup/compare/v6.4.2...v6.5.0
https://github.com/glennreyes/react-countup/compare/v6.4.1...v6.4.2
https://github.com/glennreyes/react-countup/compare/v6.4.0...v6.4.1
https://github.com/glennreyes/react-countup/compare/v6.3.2...v6.4.0
https://github.com/glennreyes/react-countup/compare/v6.3.1...v6.3.2
https://github.com/glennreyes/react-countup/compare/v6.3.0...v6.3.1
https://github.com/glennreyes/react-countup/compare/v6.2.0...v6.3.0
https://github.com/glennreyes/react-countup/compare/v6.1.1...v6.2.0
https://github.com/glennreyes/react-countup/compare/v6.1.0...v6.1.1
https://github.com/glennreyes/react-countup/compare/v6.0.0...v6.1.0
https://github.com/glennreyes/react-countup/compare/v6.0.0-2...v6.0.0
https://github.com/glennreyes/react-countup/compare/v6.0.0-1...v6.0.0-2
https://github.com/glennreyes/react-countup/compare/v6.0.0-0...v6.0.0-1
https://github.com/glennreyes/react-countup/compare/v5.2.0...v6.0.0-0
https://github.com/glennreyes/react-countup/compare/v5.1.0...v5.2.0
https://github.com/glennreyes/react-countup/compare/v5.0.0...v5.1.0
https://github.com/glennreyes/react-countup/compare/v5.0.0-0...v5.0.0
Published by mmarkelov over 3 years ago
New API for useCountUp
:
You need to define ref
- id of html element, input, svg text element, or DOM element reference where counting occurs
const Hook = () => {
const span = React.useRef(null);
useCountUp({ end: 10, ref: span });
return <span ref={span} />;
};
const Hook = () => {
useCountUp({ end: 10, ref: "counter" });
return <span id="counter" />;
};
https://github.com/glennreyes/react-countup/compare/v4.4.0...v5.0.0-0