Skip to content

Commit 62f645d

Browse files
authored
steps in toc (#588)
1 parent fecbdf4 commit 62f645d

File tree

1 file changed

+9
-0
lines changed
  • fern/products/docs/pages/component-library/default-components

1 file changed

+9
-0
lines changed

fern/products/docs/pages/component-library/default-components/steps.mdx

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,14 @@ The Steps component helps organize sequential content with automatic numbering,
6161

6262
## Properties
6363

64+
### Steps Properties
65+
66+
<ParamField path="toc" type="boolean" required={false}>
67+
Whether to include the steps in the table of contents. Defaults to `false`.
68+
</ParamField>
69+
70+
### Step Properties
71+
6472
<ParamField path="title" type="string" required={false}>
6573
Optional title for the step
6674
</ParamField>
@@ -73,3 +81,4 @@ The Steps component helps organize sequential content with automatic numbering,
7381
- Clicking the step number copies a direct URL to that step
7482
- Hovering over a step's title or number reveals a link icon
7583
- Visual feedback when step URL is copied
84+
- Steps can be added to the table of contents

0 commit comments

Comments
 (0)