import { makeStyles, withStyles } from '@material-ui/core/styles';
import { LinearProgress } from '@material-ui/core';
import { PURPLE, BLUE, PANEL_BACKGROUND } from '../../lib/consts/DEFAULT_THEME';
const completed = 100;
const BorderLinearProgress = withStyles({
root: {
height: '1em',
borderRadius: '2px',
},
colorPrimary: {
backgroundColor: PANEL_BACKGROUND,
},
bar: {
borderRadius: '3px',
},
})(LinearProgress);
const useStyles = makeStyles(() => ({
barOk: {
backgroundColor: BLUE,
},
barInProgress: {
backgroundColor: PURPLE,
},
}));
const ProgressBar = ({
progressPercentage,
}: {
progressPercentage: number;
}): JSX.Element => {
const classes = useStyles();
return (
<>
>
);
};
export default ProgressBar;