Skip to content

Commit decd646

Browse files
committed
usage section consistency edits
1 parent 1793e26 commit decd646

File tree

4 files changed

+7
-10
lines changed

4 files changed

+7
-10
lines changed

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,10 @@ description: Display expandable/collapsible options with browser search function
55

66
The Accordion component creates expandable sections with searchable, SEO-friendly content that remains accessible even when collapsed. Use accordions for FAQs, documentation sections, settings panels, or any content where progressive disclosure improves readability.
77

8+
You can use single Accordions or group multiple Accordions together with AccordionGroup.
9+
10+
## Usage
11+
812
<div className="highlight-frame">
913
<AccordionGroup>
1014
<Accordion title="Section 1" defaultOpen={true}>
@@ -16,10 +20,6 @@ The Accordion component creates expandable sections with searchable, SEO-friendl
1620
</AccordionGroup>
1721
</div>
1822

19-
## Usage
20-
21-
You can have single Accordions, or multiple Accordions enclosed in an Accordion Group.
22-
2323
```jsx Markdown syntax
2424
<AccordionGroup>
2525
<Accordion title="Section 1" defaultOpen={true}>

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

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,6 @@ Callouts highlight important information, warnings, or tips in your documentatio
77

88
To display very short pieces of information like status indicators and version numbers, use the [Badges component](/docs/writing-content/components/badges).
99

10-
<div className="highlight-frame">
11-
<Note>This adds a note in the content</Note>
12-
</div>
13-
1410
## Usage
1511

1612
<div className="highlight-frame">

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

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ The Code Block component displays code examples with syntax highlighting powered
88

99
## Usage
1010

11-
Wrap your code in three backticks and optionally specify the language for syntax highlighting.
11+
Use three backticks with an optional language identifier.
1212

1313
<div className="highlight-frame">
1414
```js
@@ -37,7 +37,6 @@ console.log("hello world")
3737
console.log("hello world")
3838
```
3939
````
40-
4140

4241
### Line highlighting
4342

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ description: Add interactive tooltips to your documentation.
55

66
The Tooltip component displays additional information when users hover over text or code elements. Use tooltips to provide context, definitions, or explanations without cluttering your documentation.
77

8+
## Usage
9+
810
<div className="highlight-frame">
911
Documentation becomes more interactive when you add <Tooltip tip="A simple tooltip for basic explanations">tooltips</Tooltip> to key terms.
1012
</div>

0 commit comments

Comments
 (0)