Skip to content

Commit 6b73c6b

Browse files
committed
update icons
1 parent cd5a6b3 commit 6b73c6b

File tree

1 file changed

+9
-13
lines changed

1 file changed

+9
-13
lines changed

components/icons.mdx

Lines changed: 9 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -8,38 +8,34 @@ Use icons from Font Awesome, Lucide, or custom icon URLs to enhance your documen
88

99
<Icon icon="flag" size={32} />
1010

11-
<RequestExample>
12-
13-
```mdx Icon Example
11+
```mdx Icon example
1412
<Icon icon="flag" size={32} />
1513
```
1614

17-
</RequestExample>
18-
1915
## Inline icons
2016

2117
Icons are placed inline when used within a paragraph.
2218

23-
```markdown Inline Icon Example
2419
<Icon icon="flag" iconType="solid" /> The documentation you want, effortlessly.
25-
```
2620

21+
```markdown Inline icon example
2722
<Icon icon="flag" iconType="solid" /> The documentation you want, effortlessly.
23+
```
2824

29-
### Properties
25+
## Properties
3026

3127
<ResponseField name="icon" type="string" required>
32-
A [Font Awesome](https://fontawesome.com/icons) icon, [Lucide](https://lucide.dev/icons) icon, URL to an icon, or relative path to an icon
28+
A [Font Awesome](https://fontawesome.com/icons) icon, [Lucide](https://lucide.dev/icons) icon, URL to an icon, or relative path to an icon.
3329
</ResponseField>
3430

3531
<ResponseField name="iconType" type="string">
36-
One of `regular`, `solid`, `light`, `thin`, `sharp-solid`, `duotone`, `brands` (only for [Font Awesome](https://fontawesome.com/icons) icons)
32+
For [Font Awesome](https://fontawesome.com/icons) icons only: One of `regular`, `solid`, `light`, `thin`, `sharp-solid`, `duotone`, `brands`.
3733
</ResponseField>
3834

3935
<ResponseField name="color" type="string">
40-
The color of the icon as a hex code (for example, `#FF5733`)
36+
The color of the icon as a hex code (for example, `#FF5733`).
4137
</ResponseField>
4238

4339
<ResponseField name="size" type="number">
44-
The size of the icon in pixels
45-
</ResponseField>
40+
The size of the icon in pixels.
41+
</ResponseField>

0 commit comments

Comments
 (0)