mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-15 18:31:06 +00:00
Run npm run lint
This commit is contained in:
parent
b982387a8c
commit
2031cb7585
480 changed files with 8985 additions and 9048 deletions
|
@ -1,28 +1,28 @@
|
|||
<script lang="ts">
|
||||
import { RecursiveList } from "carbon-components-svelte";
|
||||
import { RecursiveList } from "carbon-components-svelte";
|
||||
|
||||
const nodes = [
|
||||
{
|
||||
text: "Item 1",
|
||||
nodes: [
|
||||
{
|
||||
text: "Item 1a",
|
||||
nodes: [{ html: "<h5>HTML content</h5>" }],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
text: "Item 2",
|
||||
nodes: [
|
||||
{ href: "https://svelte.dev/" },
|
||||
{
|
||||
href: "https://svelte.dev/",
|
||||
text: "Link with custom text",
|
||||
},
|
||||
],
|
||||
},
|
||||
{ text: "Item 3" },
|
||||
];
|
||||
const nodes = [
|
||||
{
|
||||
text: "Item 1",
|
||||
nodes: [
|
||||
{
|
||||
text: "Item 1a",
|
||||
nodes: [{ html: "<h5>HTML content</h5>" }],
|
||||
},
|
||||
],
|
||||
},
|
||||
{
|
||||
text: "Item 2",
|
||||
nodes: [
|
||||
{ href: "https://svelte.dev/" },
|
||||
{
|
||||
href: "https://svelte.dev/",
|
||||
text: "Link with custom text",
|
||||
},
|
||||
],
|
||||
},
|
||||
{ text: "Item 3" },
|
||||
];
|
||||
</script>
|
||||
|
||||
<RecursiveList type="ordered" {nodes} />
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue