frontAnswerer/lib/assets/icons/ArrowDownIcon.tsx

29 lines
808 B
TypeScript
Raw Normal View History

2023-12-29 00:58:19 +00:00
import {Box, SxProps, Theme, useTheme} from "@mui/material";
2023-12-16 14:55:56 +00:00
2023-12-29 00:58:19 +00:00
interface Color{
color?: string
}
export default function ArrowDownIcon(
props: any,
{color = "#7E2AEA"}: Color
) {
2023-12-16 14:55:56 +00:00
const theme = useTheme();
return (
<Box
{...props}
sx={{
top: "25% !important",
height: "24px",
width: "24px",
display: "flex",
alignItems: "center",
justifyContent: "center",
}}
>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
2023-12-29 00:58:19 +00:00
<path d="M19.5 9L12 16.5L4.5 9" stroke={color} strokeWidth="1.5" strokeLinecap="round" strokeLinejoin="round" />
2023-12-16 14:55:56 +00:00
</svg>
</Box>
);
}