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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.4
    0
    • latest

Version History

Package Sidebar

Install

npm i scroll-progress-react

Weekly Downloads

4

Version

0.1.4

License

MIT

Last publish

Collaborators

  • echoes221