From c953dfc845dbe56093e69a922c6fe7f15bc1050c Mon Sep 17 00:00:00 2001 From: Frankie Roberto Date: Tue, 19 Dec 2023 14:03:30 +0000 Subject: [PATCH] Update example macro usage --- docs/secondary-navigation.md | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/docs/secondary-navigation.md b/docs/secondary-navigation.md index 4e9c8a5..c45b054 100644 --- a/docs/secondary-navigation.md +++ b/docs/secondary-navigation.md @@ -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 @@ -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.