Skip to content

Commit 5510d4c

Browse files
Fern Editor: Update
1 parent a97e529 commit 5510d4c

File tree

1 file changed

+6
-12
lines changed

1 file changed

+6
-12
lines changed

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

Lines changed: 6 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,9 @@ Accordion Groups allow you to organize content into collapsible sections, making
4444
<Accordion title="Text content with multimedia">
4545
You can embed images, videos, and other media within accordions for rich interactive content.
4646

47-
<embed
48-
src="./growing-fern.mp4"
49-
type="video/mp4"
50-
width="640"
51-
height="360"
52-
/>
47+
<Frame caption="Sample image">
48+
<img src="https://images.pexels.com/photos/1867601/pexels-photo-1867601.jpeg" alt="A sample image" />
49+
</Frame>
5350
</Accordion>
5451
<Accordion title="Nested components">
5552
Accordions can contain other components, such as code blocks and callouts.
@@ -78,12 +75,9 @@ Accordion Groups allow you to organize content into collapsible sections, making
7875
<Accordion title="Text content with multimedia">
7976
You can embed images, videos, and other media within accordions for rich interactive content.
8077

81-
<embed
82-
src="./growing-fern.mp4"
83-
type="video/mp4"
84-
width="640"
85-
height="360"
86-
/>
78+
<Frame caption="Sample image">
79+
<img src="https://images.pexels.com/photos/1867601/pexels-photo-1867601.jpeg" alt="A sample image" />
80+
</Frame>
8781
</Accordion>
8882
<Accordion title="Nested components">
8983
Accordions can contain other components, such as code blocks and callouts.

0 commit comments

Comments
 (0)