Const
A table of contents page component for FlipBook.
Automatically generates TOC entries from pageSemantics, showing pages that have titles. Entries display title with fallback to semantic name, then page index.
<TocPage onNavigate={(pageIndex) => flipBookRef.current?.flipToPage(pageIndex)} totalPages={20} pageSemantics={mySemantics} heading="Contents" direction="rtl"/> Copy
<TocPage onNavigate={(pageIndex) => flipBookRef.current?.flipToPage(pageIndex)} totalPages={20} pageSemantics={mySemantics} heading="Contents" direction="rtl"/>
A table of contents page component for FlipBook.
Automatically generates TOC entries from pageSemantics, showing pages that have titles. Entries display title with fallback to semantic name, then page index.