mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-21 04:39:19 +00:00
refactor(icons): use icons from carbon-icons-svelte@11
This commit is contained in:
parent
a9cb474854
commit
0a28d64acf
118 changed files with 1122 additions and 2201 deletions
|
@ -21,7 +21,7 @@
|
|||
export let iconDescription = "Close";
|
||||
|
||||
import { getContext } from "svelte";
|
||||
import Close20 from "../icons/Close20.svelte";
|
||||
import Close from "../icons/Close.svelte";
|
||||
|
||||
const { closeModal, updateLabel } = getContext("ComposedModal");
|
||||
|
||||
|
@ -57,6 +57,6 @@
|
|||
on:click
|
||||
on:click="{closeModal}"
|
||||
>
|
||||
<Close20 class="bx--modal-close__icon {closeIconClass}" />
|
||||
<Close size="{20}" class="bx--modal-close__icon {closeIconClass}" />
|
||||
</button>
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue