mirror of
https://github.com/owncast/owncast.git
synced 2024-12-24 18:18:24 +03:00
e50b23d081
* chore(js): be stricter about dead code warnings * chore(js): remove dead code and unused exports * rebase * chore: remove unused files * chore(deps): remove unused prop-types dep * chore(js): remove unused function * chore(deps): remove + check unused deps * chore(js): remove unused exports. Closes #3036
14 lines
334 B
TypeScript
14 lines
334 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>
|
|
);
|