Skip to content

Commit 30437a3

Browse files
committed
chore: enhance DocsPage component by adding table of content styling
1 parent 3cc301a commit 30437a3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/app/docs/[[...slug]]/page.tsx

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,13 @@ export default async function Page(props: { params: Promise<{ slug?: string[] }>
1212
const MDXContent = page.data.body
1313

1414
return (
15-
<DocsPage toc={page.data.toc} full={page.data.full}>
15+
<DocsPage
16+
toc={page.data.toc}
17+
full={page.data.full}
18+
tableOfContent={{
19+
style: "clerk",
20+
}}
21+
>
1622
<DocsTitle>{page.data.title}</DocsTitle>
1723
<DocsDescription>{page.data.description}</DocsDescription>
1824
<DocsBody>

0 commit comments

Comments
 (0)