mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-19 03:49:34 +00:00
docs(recursive-list): update docs
This commit is contained in:
parent
e3f89c0afb
commit
f43646fe6d
8 changed files with 65 additions and 47 deletions
|
@ -6,14 +6,8 @@
|
|||
text: "Item 1",
|
||||
children: [
|
||||
{
|
||||
text: "Link",
|
||||
href: "/",
|
||||
children: [
|
||||
{
|
||||
html: "<h5>Hello world</h5>",
|
||||
children: [{ text: "Item 1a" }],
|
||||
},
|
||||
],
|
||||
text: "Item 1a",
|
||||
children: [{ html: "<h5>HTML content</h5>" }],
|
||||
},
|
||||
],
|
||||
},
|
||||
|
@ -21,7 +15,11 @@
|
|||
text: "Item 2",
|
||||
children: [
|
||||
{
|
||||
text: "Item 2 content",
|
||||
href: "https://svelte.dev/",
|
||||
},
|
||||
{
|
||||
href: "https://svelte.dev/",
|
||||
text: "Link with custom text",
|
||||
},
|
||||
],
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue