Inline TOC
Add Inline TOC into your documentation
Usage
Pass TOC items to the component.
Use in Pages
You can add inline TOC into every page.
Reference
Prop | Type | Default |
---|---|---|
asChild | boolean | - |
items | TOCItemType[] | - |
defaultOpen | boolean | - |
open | boolean | - |
disabled | boolean | - |
onOpenChange | (open: boolean) => void | - |
Edit on GitHub
Last updated on