scroll-progress-react

0.1.4 • Public • Published

scroll-progress-react

Build Status

React component that tracks a users progress through a page as they scroll.

Getting Started

$ npm install scroll-progress-react

In React

import React, { Component } from 'react';
import ScrollProgress from 'scroll-progress-react`;

class Demo extends Component {
  render () {
    return (<ScrollProgress />);
  }
}

export default Demo;

Props

prop Type Default
style Object
className String scroll-progress-react

Due to the nature of HTML5 progress bars, prefer to use CSS files select by the above class name.

Dependencies (1)

Dev Dependencies (12)

Package Sidebar

Install

npm i scroll-progress-react

Weekly Downloads

0

Version

0.1.4

License

MIT

Last publish

Collaborators

  • echoes221