1.1.2 • Published 5 years ago

react-top-bar-loader v1.1.2

Weekly downloads
28
License
MIT
Repository
github
Last release
5 years ago

npm version

Usage

Install with yarn or npm

yarn add react-top-bar-loader

Import component

import TopBarLoader from 'react-top-bar-loader'

Pass the props

<TopBarLoader goToPercentage={50} incrementInterval={500}/>

Options

PropnameDescriptionTypeDefault
goToPercentageThe end percentage bar is required to go.Positive Integer 0 - 100-1 (hidden)
incrementIntervalThe time in milliseconds by which loader should increment gradually.Positive Integer500

Customizing

The app exposes two classnames required for styling this app.

  • react-top-bar-loader-container
  • react-top-bar-loader-width

You may see the demo style sheet inorder to modify as per your needs. If it still doesnt suit you needs, feel free to fork and use however you like.

1.1.2

5 years ago

1.1.1

5 years ago

1.1.0

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago