From 3272ac336da52364ace5ed76d8f609d4088ffc06 Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Thu, 28 Sep 2023 18:19:00 +0200 Subject: refactor(components): make Logo component ESlint compliant I also renamed the title prop to heading because title already exists as HTML attribute. --- src/components/atoms/images/logo.tsx | 45 ------------------------------------ 1 file changed, 45 deletions(-) delete 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 deleted file mode 100644 index 491539d..0000000 --- a/src/components/atoms/images/logo.tsx +++ /dev/null @@ -1,45 +0,0 @@ -import { FC, SVGAttributes } from 'react'; -import styles from './logo.module.scss'; - -export type LogoProps = SVGAttributes & { - /** - * SVG Image title. - */ - title?: string; -}; - -/** - * Logo component. - * - * Render a SVG logo. - */ -export const Logo: FC = ({ title, ...props }) => { - return ( - - {title ? {title} : null} - - - - - - - - ); -}; -- cgit v1.2.3