From 9db9fd49c61d1354fd0928179db570e0eef18260 Mon Sep 17 00:00:00 2001 From: Tobias Barsnes Date: Tue, 8 Oct 2024 09:57:50 +0200 Subject: [PATCH] fix(skiplink): add missing ref prop (#2581) --- packages/react/src/components/SkipLink/SkipLink.tsx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packages/react/src/components/SkipLink/SkipLink.tsx b/packages/react/src/components/SkipLink/SkipLink.tsx index d0e7c92e8e..d6788699d2 100644 --- a/packages/react/src/components/SkipLink/SkipLink.tsx +++ b/packages/react/src/components/SkipLink/SkipLink.tsx @@ -10,9 +10,9 @@ export type SkipLinkProps = { } & AnchorHTMLAttributes; export const SkipLink = forwardRef( - function SkipLink({ children, className, ...rest }) { + function SkipLink({ children, className, ...rest }, ref) { return ( - + {children} );