Skip to content

Commit

Permalink
refactor: Update AmsterdamArticlePage to use Breadcrumb component
Browse files Browse the repository at this point in the history
  • Loading branch information
dlnr committed May 17, 2024
1 parent 3ed39ba commit 9472e8c
Showing 1 changed file with 13 additions and 2 deletions.
15 changes: 13 additions & 2 deletions storybook/src/docs/patterns/AmsterdamArticlePage.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
import { BreadcrumbProps, Footer, FooterProps, Grid, Header, Screen, SkipLink } from '@amsterdam/design-system-react'
import {
Breadcrumb,
BreadcrumbProps,
Footer,
FooterProps,
Grid,
Header,
Screen,
SkipLink,
} from '@amsterdam/design-system-react'
import { ReactElement } from 'react'
import { AmsterdamArticleContent } from './AmsterdamArticleContent'
import { AmsterdamArticleHeader } from './AmsterdamArticleHeader'
Expand Down Expand Up @@ -28,7 +37,9 @@ export const AmsterdamArticlePage = ({

{breadcrumbs && (
<Grid paddingTop="medium">
<Grid.Cell span="all">{breadcrumbs}</Grid.Cell>
<Grid.Cell span="all">
<Breadcrumb>{breadcrumbs}</Breadcrumb>
</Grid.Cell>
</Grid>
)}

Expand Down

0 comments on commit 9472e8c

Please sign in to comment.