docs(recursive-list): update docs

This commit is contained in:
Eric Y Liu 2021-07-03 04:50:24 -07:00
commit f43646fe6d
8 changed files with 65 additions and 47 deletions

View file

@ -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",
},
],
},