import React from "react"; import { SxProps } from "@mui/material"; import Box, { BoxProps } from "@mui/material/Box"; import { LogoType } from "../types"; import { ss } from "../util/select_styles"; import Logo from "./Logo"; import { LogoProps } from "./Logo"; export interface BrandProps { src?: LogoType; sx?: SxProps; LogoProps?: LogoProps; BoxProps?: Omit; } const Brand: React.FC = ({ BoxProps, src, sx, LogoProps }) => { return ( svg, & > img": { width: "100% !important", height: "100% !important", fill: "currentColor", "& > path": { fill: "unset", }, ...LogoProps?.style, }, }, sx, )} {...BoxProps} > ); }; export default Brand;