Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/adobe/react-spectrum
/ leafNode
Function
leafNode
packages/dev/s2-docs/src/Nav.tsx:166–168 ·
view source on GitHub ↗
(page: Page)
Source
from the content-addressed store, hash-verified
164
}
165
166
function leafNode(page: Page): NavNode {
167
return {id: page.url, title: title(page), href: page.url};
168
}
169
170
function renderNode(node: NavNode) {
171
return (
Callers
nothing calls this directly
Calls
1
title
Function · 0.85
Tested by
no test coverage detected