docs: update examples to use icons from carbon-icons-svelte@11

This commit is contained in:
Eric Liu 2022-04-03 11:51:07 -07:00
commit 5f4864755f
29 changed files with 116 additions and 128 deletions

View file

@ -9,7 +9,7 @@
ToolbarBatchActions,
Button,
} from "carbon-components-svelte";
import Save16 from "carbon-icons-svelte/lib/Save16";
import Save from "carbon-icons-svelte/lib/Save.svelte";
const headers = [
{ key: "name", value: "Name" },
@ -34,7 +34,7 @@
<DataTable batchSelection bind:selectedRowIds headers="{headers}" rows="{rows}">
<Toolbar>
<ToolbarBatchActions>
<Button icon="{Save16}">Save</Button>
<Button icon="{Save}">Save</Button>
</ToolbarBatchActions>
<ToolbarContent>
<ToolbarSearch />