Skip to content

Commit f17b4b1

Browse files
chore(NavList): document 'as' prop in GroupHeading (#7213)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent cac88d9 commit f17b4b1

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

packages/react/src/NavList/NavList.docs.json

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -191,6 +191,13 @@
191191
{
192192
"name": "ref",
193193
"type": "React.RefObject<HTMLElement>"
194+
},
195+
{
196+
"name": "as",
197+
"description": "Heading level for the group heading. Sets the semantic heading tag.",
198+
"required": false,
199+
"type": "'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'",
200+
"defaultValue": "\"h3\""
194201
}
195202
]
196203
},

0 commit comments

Comments
 (0)