MCPcopy Create free account
hub / github.com/adobe/react-spectrum / NavigationTreeItemLink

Function NavigationTreeItemLink

starters/docs/src/NavigationTree.tsx:64–67  ·  view source on GitHub ↗
({render: renderProp, ...props}: LinkProps)

Source from the content-addressed store, hash-verified

62}
63
64export function NavigationTreeItemLink({render: renderProp, ...props}: LinkProps) {
65 const contextRender = React.useContext(RenderLinkContext);
66 return <Link render={renderProp ?? contextRender} {...props} />;
67}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected