TOCItem
On this page
import type { TOCItem } from "ardo/config"
type TOCItem = {
id: string;
text: string;
level: number;
children?: TOCItem[];
};
Properties
| Name | Type | Required |
|---|---|---|
id | string | Yes |
text | string | Yes |
level | number | Yes |
children | TOCItem[] | No |