Skip to content

Commit

Permalink
Update example macro usage
Browse files Browse the repository at this point in the history
  • Loading branch information
frankieroberto committed Dec 19, 2023
1 parent 655d88e commit c953dfc
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions docs/secondary-navigation.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ description: Allow users to navigate between pages scoped to a section.
{% from "example/macro.njk" import appExample %}

{{ appExample({
component: "secondary-navigation"
example: "secondary-navigation"
}) }}

## When to use this component
Expand All @@ -26,8 +26,7 @@ You could also consider using the [tabs component](https://design-system.service
## How it works

{{ appExample({
component: "secondary-navigation",
example: "with-header"
example: "secondary-navigation-with-header"
}) }}

Unlike [tabs](https://design-system.service.gov.uk/components/tabs/), secondary navigation does not use JavaScript. Each item within the navigation is a link to a separate full page.
Expand Down

0 comments on commit c953dfc

Please sign in to comment.