loading-bar-pro
Make easy loading bar
Demo
https://demo-loading-bar-pro-pu11.vercel.app/
Install
npm install --legacy-peer-deps loading-bar-pro
Usage
import React, { Component } from 'react'
import LoadingBarComponent from 'loading-bar-pro'
import 'loading-bar-pro/dist/index.css'
class Example extends Component {
render() {
return <LoadingBarComponent time={1000} color="#E88E49" />
}
}
Document
Option | Description | Type |
---|---|---|
time | time loading (ms) | number |
color | loading bar color | string |
width | loading bar width | number |
height | loading bar height | number |
borderRadius | border radius loading bar | number |
borderColor | border color (1px solid) | number |
updating... | updating... | updating... |
License
MIT © bafousaixz