/* eslint-disable react/jsx-no-literals */ import type { FC, SVGAttributes } from 'react'; import styles from './logo.module.scss'; export type LogoProps = Omit, 'role'> & { /** * Define an accessible title for the logo. */ heading?: string; }; /** * Logo component. * * Render a SVG logo. */ export const Logo: FC = ({ heading, ...props }) => ( // eslint-disable-next-line jsx-a11y/prefer-tag-over-role -- Valid on SVG {heading ? {heading} : null} );