react_pageread_progress_bar
v1.0.3
Published
React pageread progress bar build with typescript, ideal for articles or long pages
Downloads
2
Readme
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