Skip to content

Commit 8a20ea8

Browse files
committed
put example inline
1 parent 113ade2 commit 8a20ea8

File tree

1 file changed

+4
-12
lines changed

1 file changed

+4
-12
lines changed

components/callouts.mdx

Lines changed: 4 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -38,20 +38,12 @@ Callouts can be styled as a Note, Warning, Info, Tip, Check, Danger, or create y
3838

3939
<Danger>This is a danger callout</Danger>
4040

41-
```jsx
41+
```mdx
4242
<Danger>This is a danger callout</Danger>
4343
```
4444

45-
<Callout icon="key" color="#FFC107" iconType="regular">
46-
This is a custom callout
47-
</Callout>
48-
49-
<RequestExample>
45+
<Callout icon="key" color="#FFC107" iconType="regular"> This is a custom callout</Callout>
5046

51-
```mdx Callout Example
52-
<Callout icon="key" color="#FFC107" iconType="regular">
53-
This is a custom callout
54-
</Callout>
47+
```mdx
48+
<Callout icon="key" color="#FFC107" iconType="regular">This is a custom callout</Callout>
5549
```
56-
57-
</RequestExample>

0 commit comments

Comments
 (0)