From 2604e96c16cfa3044d3d0271a6c17ae23505000f Mon Sep 17 00:00:00 2001 From: Robbert Broersma Date: Thu, 14 Sep 2023 08:21:26 +0200 Subject: [PATCH] docs: do not use `aria-current` and `rel="up"` at the same time --- .../src/stories/BreadcrumbNav.stories.tsx | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/packages/storybook-react/src/stories/BreadcrumbNav.stories.tsx b/packages/storybook-react/src/stories/BreadcrumbNav.stories.tsx index 73fd7a2a2b3..13a1e665e89 100644 --- a/packages/storybook-react/src/stories/BreadcrumbNav.stories.tsx +++ b/packages/storybook-react/src/stories/BreadcrumbNav.stories.tsx @@ -9,7 +9,11 @@ import { designTokenStory } from './util'; // custom link component for storybook const ExampleCustomLink = ({ children, ...rest }: any) => { - return {children}; + return ( + + {children} + + ); }; ExampleCustomLink.displayName = 'ExampleCustomLink'; @@ -70,8 +74,8 @@ export const Current: Story = { Niveau 1 , - - Niveau 2 + + Huidige pagina , ], },