diff --git a/packages/sogrim-app/src/components/Banner/BannerCards/LinearProgressMultiColorWithLabel.tsx b/packages/sogrim-app/src/components/Banner/BannerCards/LinearProgressMultiColorWithLabel.tsx index d1ba51eb..46c5dc1b 100644 --- a/packages/sogrim-app/src/components/Banner/BannerCards/LinearProgressMultiColorWithLabel.tsx +++ b/packages/sogrim-app/src/components/Banner/BannerCards/LinearProgressMultiColorWithLabel.tsx @@ -1,18 +1,15 @@ +import { Tooltip } from "@mui/material"; +import Box from "@mui/material/Box"; import LinearProgress, { linearProgressClasses, - LinearProgressProps, } from "@mui/material/LinearProgress"; -import Typography from "@mui/material/Typography"; -import Box from "@mui/material/Box"; import { styled, useTheme } from "@mui/material/styles"; -import { Tooltip } from "@mui/material"; +import Typography from "@mui/material/Typography"; -export const LinearProgressMultiColorWithLabel = ( - props: LinearProgressProps & { - onlyCompleteProgress: number; - totalProgress: number; - } -) => { +export const LinearProgressMultiColorWithLabel = (props: { + onlyCompleteProgress: number; + totalProgress: number; +}) => { const theme = useTheme(); const MultiColorLinearProgress = styled(LinearProgress)(({ theme }) => ({ [`& .${linearProgressClasses.dashed}`]: { @@ -41,7 +38,6 @@ export const LinearProgressMultiColorWithLabel = ( { +export const LinearProgressWithLabel = (props: { value: number }) => { const theme = useTheme(); return (