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

Function getTitle

packages/dev/s2-docs/src/ComponentCard.tsx:637–637  ·  view source on GitHub ↗
(page: Page)

Source from the content-addressed store, hash-verified

635}
636
637const getTitle = (page: Page) => page.tableOfContents?.[0]?.title ?? '';

Callers 1

ComponentListFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected