mirror of
https://github.com/ente-io/ente.git
synced 2025-05-24 20:19:17 +00:00
24 lines
475 B
TypeScript
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;
|
|
`;
|