react-countup-light
v1.0.4
Published
This is a react count up component in a light version
Downloads
18
Maintainers
Readme
react-countup-light
This is a count up component in much light version.
demo
Installation
yarn add react-countup-lightor
npm install react-countup-lightHow to use it
import React from 'react';
import { render } from 'react-dom';
import CountUp from 'react-countup-light';
render(
<CountUp startNum={0} endNum={30} duration={2000} />,
document.getElementById('root')
);Props
startNum: number
Start value
endNum: number
End value
duration: number
Duration in milliseconds
className: string
You can define your own class here
License
MIT
