Press n or j to go to the next uncovered block, b, p or k for the previous block.
| 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | 8x 8x 1x 8x | import { Box } from "@mui/material";
import { styled } from "@theme/v2/Provider";
import { ReactElement } from "react";
export const NotificationItemContainer = styled(Box)(({ theme }) => ({
display: "flex",
flexDirection: "row",
gap: "12px",
flex: 1,
width: "100%",
}));
const IconWrapperContainer = styled(Box)(({ theme }) => ({
display: "flex",
width: "34px",
height: "34px",
minWidth: "34px",
minHeight: "34px",
backgroundColor: theme.palette.primitive?.transparent["darken-5"],
borderRadius: "20px",
alignItems: "center",
justifyContent: "center",
}));
export const IconWrapper = ({ children }: { children: ReactElement }) => {
return <IconWrapperContainer>{children}</IconWrapperContainer>;
};
|