You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* adding defaultOpen to NavList
* add console.error if using defaultOpen on a NavList.Item without a NavList.SubNav
* update defaultOpen
* add changeset
* fix lint errors
Copy file name to clipboardExpand all lines: src/NavList/NavList.docs.json
+5Lines changed: 5 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -47,6 +47,11 @@
47
47
"defaultValue": "false",
48
48
"description": "Set `aria-current` to `\"page\"` to indicate that the item represents the current page. Set `aria-current` to `\"location\"` to indicate that the item represents the current location on a page. For more information about `aria-current`, see [MDN](https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-current)."
49
49
},
50
+
{
51
+
"name": "defaultOpen",
52
+
"type": "boolean",
53
+
"description": "The open state of the item when it is initially rendered if the item has a SubNav."
0 commit comments