mirror of
https://github.com/carbon-design-system/carbon-components-svelte.git
synced 2025-09-18 03:26:36 +00:00
refactor(composed-modal): resolve svelte icon imports
This commit is contained in:
parent
b6d3d1774b
commit
95c5bd0ae3
2 changed files with 2 additions and 2 deletions
|
@ -24,7 +24,7 @@
|
|||
export let danger = false;
|
||||
|
||||
import { getContext } from "svelte";
|
||||
import { Button } from "../Button";
|
||||
import Button from "../Button/Button.svelte";
|
||||
|
||||
const { closeModal, submit } = getContext("ComposedModal");
|
||||
</script>
|
||||
|
|
|
@ -21,7 +21,7 @@
|
|||
export let iconDescription = "Close";
|
||||
|
||||
import { getContext } from "svelte";
|
||||
import Close20 from "carbon-icons-svelte/lib/Close20";
|
||||
import Close20 from "carbon-icons-svelte/lib/Close20/Close20.svelte";
|
||||
|
||||
const { closeModal } = getContext("ComposedModal");
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue