17 lines
340 B
TypeScript
17 lines
340 B
TypeScript
import { Image } from 'antd';
|
|
import s from './Logo.module.scss';
|
|
|
|
interface Props {
|
|
src: string;
|
|
}
|
|
|
|
export default function Logo({ src }: Props) {
|
|
return (
|
|
<div className={s.root}>
|
|
<div className={s.container}>
|
|
<Image src={src} alt="Logo" className={s.image} rootClassName={s.image} />
|
|
</div>
|
|
</div>
|
|
);
|
|
}
|