File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 11---
22title : " Icons"
33description : " Use icons from popular icon libraries"
4- icon : ' flag'
4+ icon : " flag"
55---
66
7- <Icon icon = " flag" size = { 32 } />
8-
9- <RequestExample >
7+ <Icon icon = " flag" size = { 32 } /><RequestExample >
108
119``` mdx Icon Example
1210<Icon icon = " flag" size = { 32 } />
1311```
12+
1413</RequestExample >
1514
1615## Inline Icons
1716
1817The icon will be placed inline when used in a paragraph.
1918
2019``` markdown Inline Icon Example
21- <Icon icon="flag" iconType="solid" /> The documentation you want, effortlessly
20+ <Icon icon="flag" iconType="solid" /> The documentation you want, effortlessly.
2221```
2322
24- <Icon icon = " flag" iconType = " solid" /> The documentation you want, effortlessly
23+ <Icon icon = " flag" iconType = " solid" /> The documentation you want, effortlessly.
2524
2625### Props
2726
2827<ResponseField name = " icon" type = " string" required >
29- A [ Font Awesome] ( https://fontawesome.com/icons ) or [ Lucide] ( https://lucide.dev/icons ) icon
28+ A [ Font Awesome] ( https://fontawesome.com/icons ) icon, [ Lucide] ( https://lucide.dev/icons ) icon, or URL pointing to an icon.
3029</ResponseField >
3130
3231<ResponseField name = " iconType" type = " string" >
@@ -39,4 +38,4 @@ The icon will be placed inline when used in a paragraph.
3938
4039<ResponseField name = " size" type = " number" >
4140 The size of the icon in pixels
42- </ResponseField >
41+ </ResponseField >
You can’t perform that action at this time.
0 commit comments