mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-21 04:39:19 +00:00
chore: upgrade carbon-icons-svelte to v11
This commit is contained in:
parent
ab04f5900d
commit
d4a55ef4ce
15 changed files with 41 additions and 45 deletions
|
@ -1,14 +1,14 @@
|
|||
<script lang="ts">
|
||||
import { TreeView } from "../types";
|
||||
import type { TreeNodeId } from "../types/TreeView/TreeView.svelte";
|
||||
import Analytics16 from "carbon-icons-svelte/lib/Analytics16";
|
||||
import Analytics from "carbon-icons-svelte/lib/Analytics.svelte";
|
||||
|
||||
let treeview: TreeView;
|
||||
let activeId: TreeNodeId = "";
|
||||
let selectedIds = [];
|
||||
let expandedIds = [1];
|
||||
let children = [
|
||||
{ id: 0, text: "AI / Machine learning", icon: Analytics16 },
|
||||
{ id: 0, text: "AI / Machine learning", icon: Analytics },
|
||||
{
|
||||
id: 1,
|
||||
text: "Analytics",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue