Skip to content

Commit

Permalink
Merge pull request #1996 from nhsuk/add-header-primary-links-document…
Browse files Browse the repository at this point in the history
…ation

Describe adding primaryLinks classes + attributes
  • Loading branch information
anandamaryon1 authored Jul 17, 2024
2 parents 583ba19 + 966f60e commit d0d2737
Show file tree
Hide file tree
Showing 2 changed files with 11,139 additions and 7,375 deletions.
12 changes: 12 additions & 0 deletions app/views/design-system/components/header/macro-options.json
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,18 @@
"type": "string",
"required": false,
"description": "The label of a navigation item in the header."
},
{
"name": "classes",
"type": "string",
"required": false,
"description": "Classes to add to the list item containing the link."
},
{
"name": "attributes",
"type": "object",
"required": false,
"description": "HTML attributes (for example data attributes) to add to the list item containing the link."
}
]
},
Expand Down
Loading

0 comments on commit d0d2737

Please sign in to comment.