Skip to content

calumpeak/scroll-progress-react

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

Stars

Watchers

Forks

Packages

No packages published