frontAnswerer/lib/assets/icons/UploadIcon.tsx

40 lines
1.1 KiB
TypeScript
Raw Normal View History

2023-12-16 14:55:56 +00:00
import { Box, useTheme } from "@mui/material";
2024-05-31 16:41:18 +00:00
interface Props {
color?: string;
2023-12-29 00:58:19 +00:00
}
2023-12-16 14:55:56 +00:00
2024-05-31 16:41:18 +00:00
export default function UploadIcon({ color = "#9A9AAF" }: Props) {
const theme = useTheme();
2023-12-16 14:55:56 +00:00
2024-05-31 16:41:18 +00:00
return (
<Box
sx={{
height: "32px",
width: "32px",
display: "flex",
alignItems: "center",
justifyContent: "center",
}}
>
<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32" fill="none">
<path
d="M10.75 10.25L16 5L21.25 10.25"
stroke={color}
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
/>
<path d="M16 19V5" stroke={color} strokeWidth="2" strokeLinecap="round" strokeLinejoin="round" />
<path
d="M27 19V26C27 26.2652 26.8946 26.5196 26.7071 26.7071C26.5196 26.8946 26.2652 27 26 27H6C5.73478 27 5.48043 26.8946 5.29289 26.7071C5.10536 26.5196 5 26.2652 5 26V19"
stroke={color}
strokeWidth="2"
strokeLinecap="round"
strokeLinejoin="round"
/>
</svg>
</Box>
);
}