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.

/scroll-progress-react/

    Package Sidebar

    Install

    npm i scroll-progress-react

    Weekly Downloads

    1

    Version

    0.1.4

    License

    MIT

    Last publish

    Collaborators

    • echoes221