EnteLogo.tsx 475 B

1234567891011121314151617181920212223
  1. import { styled } from "@mui/material";
  2. import React from "react";
  3. interface EnteLogoProps {
  4. /**
  5. * The height of the logo image.
  6. *
  7. * Default: 18
  8. */
  9. height?: number;
  10. }
  11. export const EnteLogo: React.FC<EnteLogoProps> = ({ height }) => {
  12. return (
  13. <LogoImage height={height ?? 18} alt="logo" src="/images/ente.svg" />
  14. );
  15. };
  16. const LogoImage = styled("img")`
  17. margin: 3px 0;
  18. pointer-events: none;
  19. vertical-align: middle;
  20. `;