bananas-commerce-admin
Version:
What's this, an admin for apes?
23 lines • 771 B
JavaScript
import React from "react";
import Box from "@mui/material/Box";
import { ss } from "../util/select_styles";
import Logo from "./Logo";
const Brand = ({ BoxProps, src, sx, LogoProps }) => {
return (React.createElement(Box, { sx: ss({
textAlign: "center",
width: "100%",
lineHeight: 0,
"& > svg, & > img": {
width: "100% !important",
height: "100% !important",
fill: "currentColor",
"& > path": {
fill: "unset",
},
...LogoProps?.style,
},
}, sx), ...BoxProps },
React.createElement(Logo, { src: src, ...LogoProps })));
};
export default Brand;
//# sourceMappingURL=Brand.js.map