round progress components

This commit is contained in:
Sidney Alcantara
2021-09-23 10:25:17 +10:00
parent d429346830
commit 94c3ce6fa6
2 changed files with 18 additions and 0 deletions

View File

@@ -34,6 +34,7 @@ import {
TextField,
Tabs,
Tab,
CircularProgress,LinearProgress
} from "@mui/material";
import SparkIcon from "@mui/icons-material/OfflineBoltOutlined";
import { useConfirmation } from "components/ConfirmationDialog";
@@ -898,6 +899,9 @@ export default function TestView() {
Progress
</Button>
</Stack>
<CircularProgress />
<LinearProgress />
</Stack>
</Container>
</Navigation>

View File

@@ -855,6 +855,20 @@ export const components = (theme: Theme): ThemeOptions => {
},
},
},
MuiCircularProgress: {
styleOverrides: {
circle: {
strokeLinecap: "round",
},
},
},
MuiLinearProgress: {
styleOverrides: {
root: { borderRadius: theme.shape.borderRadius },
bar: { borderRadius: theme.shape.borderRadius },
},
},
},
};
};