23 lines
637 B
TypeScript
23 lines
637 B
TypeScript
![]() |
import {Box} from "@mui/material";
|
||
|
|
||
|
interface Color{
|
||
|
color?: string
|
||
|
}
|
||
|
export default function ColorRingIcon({color = "#333647"}: Color) {
|
||
|
|
||
|
return (
|
||
|
<Box
|
||
|
sx={{
|
||
|
height: "20px",
|
||
|
width: "20px",
|
||
|
display: "flex",
|
||
|
alignItems: "center",
|
||
|
justifyContent: "center",
|
||
|
}}
|
||
|
>
|
||
|
<svg width="17" height="17" viewBox="0 0 17 17" fill="none" xmlns="http://www.w3.org/2000/svg">
|
||
|
<rect x="0.5" y="0.5" width="16" height="16" rx="8" fill={color} stroke="#9A9AAF"/>
|
||
|
</svg>
|
||
|
</Box>
|
||
|
)
|
||
|
}
|