Manav Rathi 34effef810
tsc
2024-05-25 06:19:01 +05:30

24 lines
475 B
TypeScript

import { styled } from "@mui/material";
import React from "react";
interface EnteLogoProps {
/**
* The height of the logo image.
*
* Default: 18
*/
height?: number;
}
export const EnteLogo: React.FC<EnteLogoProps> = ({ height }) => {
return (
<LogoImage height={height ?? 18} alt="logo" src="/images/ente.svg" />
);
};
const LogoImage = styled("img")`
margin: 3px 0;
pointer-events: none;
vertical-align: middle;
`;