An useful Progress Bar for blogs and content reading
npm install react-content-progress-bar   
Adaptative Progress Bar for all usage ! ✨
Simple to use and to implement for your blog or website
Import the ProgressBar:
``javascript`
import ProgressBar from "react-content-progress-bar";
You have seven parameters available:
- backgroundColor: Color of the progress bar backgroundcallback
- default: transparent
- : Function to be called when the progress bar reaches the endcolor
- default: () => {}
- : Color of the progress barref
- default: white
- : The Ref of the content you want to cover (ie. blog post, article..). (See https://reactjs.org/docs/refs-and-the-dom.html)radius
- REQUIRED
- (previously borderRadius): Radius of the right border side (top-right and bottom-right) (in px)style
- default: 0
- : Style of the progress bar (solid, dashed, dotted..)thickness
- default: solid
- (previously width): Thickness of the progress bar (in px)
- default: 1
Use it like this:
`javascript``
callback={() => console.log("Reached the end of my document")}
color="#fff"
radius={2}
ref={this.myRef}
style="solid"
thickness={3}
/>
MIT © Lorris Saint-Genez