From a46f8f9ffeb2c32ca21d58ce13bff189fec84cb0 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Mon, 4 Apr 2022 14:48:05 +0200 Subject: chore: add a Logo component --- src/components/atoms/images/logo.tsx | 46 ++++++++++++++++++++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 src/components/atoms/images/logo.tsx (limited to 'src/components/atoms/images/logo.tsx') diff --git a/src/components/atoms/images/logo.tsx b/src/components/atoms/images/logo.tsx new file mode 100644 index 0000000..9ce2518 --- /dev/null +++ b/src/components/atoms/images/logo.tsx @@ -0,0 +1,46 @@ +import { FC } from 'react'; +import styles from './logo.module.scss'; + +type LogoProps = { + /** + * SVG Image title. + */ + title?: string; +}; + +/** + * Logo component. + * + * Render a SVG logo. + */ +const Logo: FC = ({ title }) => { + return ( + + {title && {title}} + + + + + + + + ); +}; + +export default Logo; -- cgit v1.2.3