MCPcopy
hub / github.com/intentui/intentui / MobilePagerProps

Interface MobilePagerProps

src/components/mobile-pager.tsx:12–17  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

10import { Menu, MenuContent, MenuItem, MenuLabel } from '@/components/ui/menu'
11
12interface MobilePagerProps {
13 tree: PageTreeRoot
14 url: string
15 toc?: TableOfContents
16 className?: string
17}
18
19function getTocTextValue(item: TOCItemType) {
20 return typeof item.title === 'string' ? item.title : (item.url.split('#').pop() ?? item.url)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected