2023-12-16 14:55:56 +00:00
|
|
|
import { Box } from "@mui/material";
|
|
|
|
|
|
|
|
interface Props {
|
|
|
|
color: string;
|
2024-03-26 00:06:54 +00:00
|
|
|
width?: number;
|
2023-12-16 14:55:56 +00:00
|
|
|
}
|
|
|
|
|
2024-03-26 00:06:54 +00:00
|
|
|
export default function FlagIcon({ color, width = 30 }: Props) {
|
2023-12-16 14:55:56 +00:00
|
|
|
return (
|
|
|
|
<Box
|
|
|
|
sx={{
|
|
|
|
height: "30px",
|
2024-03-26 00:06:54 +00:00
|
|
|
width: width + "px",
|
2023-12-16 14:55:56 +00:00
|
|
|
display: "flex",
|
|
|
|
alignItems: "center",
|
|
|
|
justifyContent: "center",
|
|
|
|
}}
|
|
|
|
>
|
2024-05-31 16:41:18 +00:00
|
|
|
<svg width={width} height={width} viewBox="0 0 32 32" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
|
|
<path d="M5 27V6" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" />
|
|
|
|
<path d="M5 21.0016C13 15.0016 19 27.0016 27 21.0016V6.00158C19 12.0016 13 0.00158215 5 6.00158" fill={color} />
|
2023-12-16 14:55:56 +00:00
|
|
|
<path
|
|
|
|
d="M5 21.0016C13 15.0016 19 27.0016 27 21.0016V6.00158C19 12.0016 13 0.00158203 5 6.00158"
|
|
|
|
stroke={color}
|
|
|
|
strokeWidth="1.6"
|
|
|
|
strokeLinecap="round"
|
|
|
|
strokeLinejoin="round"
|
|
|
|
/>
|
|
|
|
</svg>
|
|
|
|
</Box>
|
|
|
|
);
|
|
|
|
}
|