refactor(composed-modal): resolve svelte icon imports

This commit is contained in:
Eric Liu 2020-12-05 17:13:04 -08:00
commit 95c5bd0ae3
2 changed files with 2 additions and 2 deletions

View file

@ -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>

View file

@ -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>