2023-04-26 17:24:19 +00:00
|
|
|
import { Box, useTheme } from "@mui/material";
|
|
|
|
|
|
|
|
|
|
|
|
interface Props {
|
2023-04-26 17:52:24 +00:00
|
|
|
color?: string;
|
|
|
|
bgcolor?: string;
|
2023-05-03 19:21:00 +00:00
|
|
|
marL?: string
|
2023-04-15 09:10:59 +00:00
|
|
|
}
|
2023-04-26 17:24:19 +00:00
|
|
|
|
2023-05-03 19:21:00 +00:00
|
|
|
export default function CopyIcon({ color, bgcolor, marL }: Props) {
|
2023-04-26 17:24:19 +00:00
|
|
|
const theme = useTheme();
|
|
|
|
|
|
|
|
return (
|
|
|
|
<Box
|
|
|
|
sx={{
|
|
|
|
bgcolor,
|
|
|
|
borderRadius: "6px",
|
|
|
|
height: "36px",
|
|
|
|
width: "36px",
|
|
|
|
display: "flex",
|
|
|
|
justifyContent: "center",
|
|
|
|
alignItems: "center",
|
2023-05-03 19:21:00 +00:00
|
|
|
marginLeft: 0 || marL
|
2023-04-26 17:24:19 +00:00
|
|
|
}}
|
|
|
|
>
|
|
|
|
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
|
|
<path d="M21.75 21.75H26.25V9.75H14.25V14.25" stroke={color} stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
|
|
<path d="M21.75 14.25H9.75V26.25H21.75V14.25Z" stroke={color} stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
|
|
|
|
</svg>
|
|
|
|
</Box>
|
|
|
|
);
|
|
|
|
}
|