dc88650d6d
* remove pnpm lock file (should only be using yarn) * Add lefthook configuration for pre-commit checks * Add explorer-v2 to package.json dependencies * add explorer v2 * update explorer v2 package name * + basepath + redirect to basepath + blog icons refactor + icons refactor * Add Getting Started instructions to README * fix noise graph bug and line graph UI * Delete unused translations, clean up console logs * / test image url * update yarn.lock --------- Co-authored-by: RadekSabacky <radek@nymtech.net> Co-authored-by: windy-ux <75579979+windy-ux@users.noreply.github.com> Co-authored-by: Yana <iana.matrosova@gmail.com> Co-authored-by: Mark Sinclair <mmsinclair@users.noreply.github.com>
30 lines
638 B
TypeScript
30 lines
638 B
TypeScript
import Box from "@mui/material/Box";
|
|
import LinearProgress from "@mui/material/LinearProgress";
|
|
import * as React from "react";
|
|
|
|
export interface IStaticProgressBarProps {
|
|
color: string;
|
|
value: number;
|
|
}
|
|
|
|
export const StaticProgressBar = (props: IStaticProgressBarProps) => {
|
|
const { color, value } = props;
|
|
|
|
return (
|
|
<Box>
|
|
<LinearProgress
|
|
variant="determinate"
|
|
value={value}
|
|
sx={{
|
|
height: 8,
|
|
borderRadius: 4,
|
|
backgroundColor: "#CAD6D7",
|
|
"& .MuiLinearProgress-bar": {
|
|
backgroundColor: color,
|
|
},
|
|
}}
|
|
/>
|
|
</Box>
|
|
);
|
|
};
|