Skip to content

Commit cb6dcc4

Browse files
committed
update icons and tabs
1 parent bc1f234 commit cb6dcc4

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

content/components/icons.mdx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,11 @@ The icon will be placed inline when used in a paragraph.
2626
## Props
2727

2828
<ResponseField name="icon" type="string" required>
29-
A [Font Awesome](https://fontawesome.com/icons) icon
29+
A [Font Awesome](https://fontawesome.com/icons) or [Lucide](https://lucide.dev/icons) icon
3030
</ResponseField>
3131

3232
<ResponseField name="iconType" type="string">
33-
One of `regular`, `solid`, `light`, `thin`, `sharp-solid`, `duotone`, `brands`
33+
One of `regular`, `solid`, `light`, `thin`, `sharp-solid`, `duotone`, `brands` (only for [Font Awesome](https://fontawesome.com/icons) icons).
3434
</ResponseField>
3535

3636
<ResponseField name="color" type="string">

content/components/tabs.mdx

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,18 @@ description: 'Toggle content using the Tabs component'
44
icon: 'window-restore'
55
---
66

7-
You can add any number of tabs.
7+
You can add any number of tabs, and other components inside of tabs.
88

99
<Tabs>
1010
<Tab title="First Tab">
1111
☝️ Welcome to the content that you can only see inside the first Tab.
12+
```java HelloWorld.java
13+
class HelloWorld {
14+
public static void main(String[] args) {
15+
System.out.println("Hello, World!");
16+
}
17+
}
18+
```
1219
</Tab>
1320
<Tab title="Second Tab">
1421
✌️ Here's content that's only inside the second Tab.
@@ -24,6 +31,13 @@ You can add any number of tabs.
2431
<Tabs>
2532
<Tab title="First Tab">
2633
☝️ Welcome to the content that you can only see inside the first Tab.
34+
```java HelloWorld.java
35+
class HelloWorld {
36+
public static void main(String[] args) {
37+
System.out.println("Hello, World!");
38+
}
39+
}
40+
```
2741
</Tab>
2842
<Tab title="Second Tab">
2943
✌️ Here's content that's only inside the second Tab.

0 commit comments

Comments
 (0)