mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-20 20:33:02 +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,6 +1,6 @@
|
|||
<script lang="ts">
|
||||
import { Button } from "../types";
|
||||
import Add16 from "carbon-icons-svelte/lib/Add16";
|
||||
import Add from "carbon-icons-svelte/lib/Add.svelte";
|
||||
</script>
|
||||
|
||||
<Button>Primary button</Button>
|
||||
|
@ -17,10 +17,10 @@
|
|||
|
||||
<Button kind="danger-ghost">Danger ghost button</Button>
|
||||
|
||||
<Button icon="{Add16}">With icon</Button>
|
||||
<Button icon="{Add}">With icon</Button>
|
||||
|
||||
<Button
|
||||
icon="{Add16}"
|
||||
icon="{Add}"
|
||||
tooltipPosition="bottom"
|
||||
tooltipAlignment="center"
|
||||
iconDescription="Tooltip text"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue