Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exploring Unnecessary Conditionals: Header #3112

16 changes: 9 additions & 7 deletions src/components/header/_macro-options.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,13 +97,15 @@

## Item

| Name | Type | Required | Description |
| --------- | ------ | -------- | --------------------------------------------------------------------- |
| classes | string | false | Classes to add to the list item element |
| url | string | true | The URL for the HTML `href` attribute for the path to the linked page |
| text | string | true | The text label for the link |
| id | string | false | The HTML `id` of the link |
| ariaLabel | string | false | The `aria-label` for the item. |
| Name | Type | Required | Description |
| --------- | ------ | -------- | ------------------------------------------------------------------------------------------------------------------------------------------------------ |
| classes | string | false | Classes to add to the list item element |
| url | string | true | The URL for the HTML `href` attribute for the path to the linked page |
| text | string | true | The text label for the link |
| id | string | false | The HTML `id` of the link |
| ariaLabel | string | false | The `aria-label` for the item. |
| title | string | false | The title text for the list item element |
| iconType | string | false | Adds an icon to all the list items when set to the name of one of the [available icons](/foundations/icons#a-to-z). Requires `iconPosition` to be set. |

## SignOutButton

Expand Down
Loading