From a724b4b38bacc631410627395b0d1190a0e8de0d Mon Sep 17 00:00:00 2001 From: Armand Philippot Date: Wed, 4 Oct 2023 18:16:55 +0200 Subject: feat(components): add a VisuallyHidden component --- src/components/atoms/links/sharing-link/sharing-link.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/components/atoms/links') diff --git a/src/components/atoms/links/sharing-link/sharing-link.tsx b/src/components/atoms/links/sharing-link/sharing-link.tsx index 186000e..a460a4d 100644 --- a/src/components/atoms/links/sharing-link/sharing-link.tsx +++ b/src/components/atoms/links/sharing-link/sharing-link.tsx @@ -1,4 +1,5 @@ import type { AnchorHTMLAttributes, FC } from 'react'; +import { VisuallyHidden } from '../../visually-hidden'; import styles from './sharing-link.module.scss'; export type SharingMedium = @@ -44,8 +45,7 @@ export const SharingLink: FC = ({ return ( - {/* eslint-disable-next-line -- SR class allowed */} - {label} + {label} ); }; -- cgit v1.2.3