frontAnswerer/lib/assets/icons/ArrowDownIcon.tsx

39 lines
799 B
TypeScript

import { Box, SxProps, Theme, useTheme } from "@mui/material";
interface Color {
color?: string;
}
export default function ArrowDownIcon(props: any, { color = "#7E2AEA" }: Color) {
const theme = useTheme();
return (
<Box
{...props}
sx={{
top: "25%",
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"
>
<path
d="M19.5 9L12 16.5L4.5 9"
stroke="currentColor"
strokeWidth="1.5"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
</Box>
);
}