react-odometerjs-no-prop-types
v1.0.4
Published
Odometer.js as a React component, without propTypes
Downloads
25
Maintainers
Readme
React Odometer.js
Simple react component for using Odometer.js in your React application.
Installation
Run
npm install --save react-odometerjs-no-prop-types
Include component in your application:
import Odometer from 'react-odometerjs-no-prop-types';
// ...
return ( <Odometer value={1234} options={{ format: '' }} /> );
Options
You can pass odometer options through options
attribute. See
official documentation of Odometer.js to learn about
available options.
Issues
Found an issue? You are welcome here.