ghost-dao-interface/src/components/Icon/GhostIcon.jsx
Uncle Fatso d4446f6fb1
version 0.0.22
Signed-off-by: Uncle Fatso <uncle.fatso@ghostchain.io>
2025-04-28 14:03:56 +03:00

24 lines
544 B
JavaScript

import { SvgIcon } from "@mui/material";
import { styled } from "@mui/material/styles";
const PREFIX = "Icon";
const classes = {
root: `${PREFIX}-root`,
};
const StyledSvgIcon = styled(SvgIcon)(() => ({
[`&.${classes.root}`]: {
display: "flex",
justifyContent: "space-between",
flexDirection: "row",
margin: "12px 0px",
},
}));
const GhostStyledIcon = ({ component, ...props }) => {
return <StyledSvgIcon component={component} {...props}></StyledSvgIcon>;
};
export default GhostStyledIcon;