frontPanel/src/assets/icons/ChartPieIcon.tsx

41 lines
1.1 KiB
TypeScript
Raw Normal View History

2022-12-09 11:48:15 +00:00
import { Box } from "@mui/material";
interface Props {
2023-09-20 17:39:17 +00:00
height: string;
width: string;
color: string;
2022-12-09 11:48:15 +00:00
}
export default function ChartPieIcon({ height, width, color }: Props) {
2023-09-20 17:39:17 +00:00
return (
<Box
sx={{
borderRadius: "6px",
height,
width,
display: "flex",
justifyContent: "center",
alignItems: "center",
}}
>
<svg xmlns="http://www.w3.org/2000/svg" width="35" height="35" viewBox="0 0 35 35" fill="none">
<path
d="M17.5 30.625C24.7487 30.625 30.625 24.7487 30.625 17.5C30.625 10.2513 24.7487 4.375 17.5 4.375C10.2513 4.375 4.375 10.2513 4.375 17.5C4.375 24.7487 10.2513 30.625 17.5 30.625Z"
stroke={color}
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
/>
<path d="M17.5 17.5V4.375" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" />
<path
d="M28.8613 10.9375L6.13867 24.0625"
stroke={color}
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
</Box>
);
}