This npm is used to generate progressbar based on percentage
npm i my-test-react-component
import React from "react";
import ProgressBar from "my-test-react-component";
export default class progressbar extends React.Component {
render() {
return (
<div>
<ProgressBar
percentage="88"
progressSelectedColor="#732272"
progessDeSelectedColor="#B1A9B1"
progressTextSize="20px"
progressTextColor="#110E13"
progressBgColor="#EEE6F2"
/>
<ProgressBar
percentage="75"
progressSelectedColor="#1A4097"
progessDeSelectedColor="#acacac"
progressTextSize="20px"
progressTextColor="#1A4097"
progressBgColor="#FFF"
/>
</div>
);
}
}
npm start
👤 Ankit
Give a ⭐️ if this project helped you!