Odometer.js as a React component
npm install react-odometer1jsSimple react component for using Odometer.js in your React
application.
1. Run npm install --save react-odometerjs
2. Include component in your application:
``javascript`
import Odometer from 'react-odometerjs';
// ...
return (
You can pass odometer options through options` attribute. See
official documentation of Odometer.js to learn about
available options.