Toc
On-this-page list, with a collapsed mobile form.
beta
API
import Toc from '@tcpsystems/ui/foundation/Toc';| Prop | Type | Default |
|---|---|---|
items | Item[] | none |
title? | string | 'On this page' |
mobile? | boolean | false |
| Hook | Kind |
|---|---|
.tcp-toc-mobile | Root class |
On-this-page list, with a collapsed mobile form.
import Toc from '@tcpsystems/ui/foundation/Toc';| Prop | Type | Default |
|---|---|---|
items | Item[] | none |
title? | string | 'On this page' |
mobile? | boolean | false |
| Hook | Kind |
|---|---|
.tcp-toc-mobile | Root class |