diff --git a/packages/component-library-react/src/BreadcrumbNav.tsx b/packages/component-library-react/src/BreadcrumbNav.tsx index b11553ba555..046514a0e66 100644 --- a/packages/component-library-react/src/BreadcrumbNav.tsx +++ b/packages/component-library-react/src/BreadcrumbNav.tsx @@ -93,7 +93,16 @@ export interface BreadcrumbLinkProps extends HTMLAttributes { export const BreadcrumbLink = forwardRef( ( - { children, current, href, index, rel, Link = UtrechtLink, className }: PropsWithChildren, + { + children, + current, + href, + index, + rel, + Link = UtrechtLink, + className, + ...restProps + }: PropsWithChildren, ref: ForwardedRef, ) => { const DefaultLinkComponent = Link; @@ -112,6 +121,7 @@ export const BreadcrumbLink = forwardRef( rel={rel} aria-current={current && 'location'} {...useMicrodataProp('item')} + {...restProps} ref={ref} >