Skip to content

Commit 22b6f0d

Browse files
Update components/frames.mdx
1 parent b70685c commit 22b6f0d

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

components/frames.mdx

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,4 +49,16 @@ You can provide additional context or information using the optional `hint` prop
4949
<img src="/path/image.jpg" alt="Descriptive alt text" />
5050
</Frame>
5151
```
52+
53+
```mdx Frame with a hint
54+
<Frame hint="Hint text">
55+
<img src="/path/image.jpg" alt="Descriptive alt text" />
56+
</Frame>
57+
```
58+
59+
```mdx Frame with both hint and caption
60+
<Frame hint="Hint text" caption="Caption text">
61+
<img src="/path/image.jpg" alt="Descriptive alt text" />
62+
</Frame>
63+
```
5264
</CodeGroup>

0 commit comments

Comments
 (0)