owncast/web/components/ui/Logo/Logo.tsx
2023-01-08 20:03:06 -08:00

15 lines
355 B
TypeScript

import { FC } from 'react';
import styles from './Logo.module.scss';
export type LogoProps = {
src: string;
};
export const Logo: FC<LogoProps> = ({ src }) => (
<div className={styles.root}>
<div className={styles.container}>
<img src={src} alt="Logo" className={styles.image} loading="lazy" />
</div>
</div>
);
export default Logo;