File tree Expand file tree Collapse file tree 1 file changed +25
-8
lines changed Expand file tree Collapse file tree 1 file changed +25
-8
lines changed Original file line number Diff line number Diff line change @@ -196,14 +196,31 @@ type Anchor = {
196
196
197
197
For the icons, you can use the name of any standard [Font Awesome Classic Icon](https://fontawesome.com/search?o=r&s=solid)
198
198
or [Brand Icons](https://fontawesome.com/search?o=r&f=brands), for example :
199
-
200
- ` ` ` json
201
- {
202
- "anchors": [
203
- { title: "Homepage", icon: "house", link: "https://example.com" }
204
- ]
205
- }
206
- ` ` `
199
+
200
+ <Tabs
201
+ values={[
202
+ { label: 'JSON', value: 'json' },
203
+ { label: 'YAML', value: 'yaml' },
204
+ ]}
205
+ >
206
+ <TabItem value="json">
207
+ ` ` ` json
208
+ {
209
+ "anchors": [
210
+ { title: "Homepage", icon: "house", link: "https://example.com" }
211
+ ]
212
+ }
213
+ ` ` `
214
+ </TabItem>
215
+ <TabItem value="yaml">
216
+ ` ` ` yaml
217
+ anchors:
218
+ - title: "Homepage"
219
+ link: "https://example.com"
220
+ icon: "house"
221
+ ` ` `
222
+ </TabItem>
223
+ </Tabs>
207
224
</Property>
208
225
209
226
<hr />
You can’t perform that action at this time.
0 commit comments