1.0.3 • Published 3 years ago
react_pageread_progress_bar v1.0.3
progress-bar
React progress-bar for scrolling height: ideal for articles, long reads... Build with typescript.
Progress is only visible when the page extends the 100vh;
Install
npm i react_pageread_progress_bar
Props
position={`CSS POSITION MARKUP`} //Position of progressbar
barColor={`STRING COLOR`} //Color of progressbar
containerColor={`STRING COLOR`} //Color of container
Usage
import {ProgressBar} from 'react_pageread_progress_bar';
const App = () => {
return <ProgressBar position={"fixed"} barColor={"lightgrey"} containerColor={"#FFFFFF"}/>
}
License
MIT © bdevwebsolutions