1
0
Fork 0
mirror of synced 2024-07-08 15:56:23 +12:00

remove usage of old Icons component in ModalContent

This commit is contained in:
Keviin Åberg Kultalahti 2021-04-21 14:59:09 +02:00
parent b9f5868fb3
commit 81f2e14172

View file

@ -4,7 +4,7 @@
import Button from "../Button/Button.svelte"
import Heading from "../Typography/Heading.svelte"
import Divider from "../Divider/Divider.svelte"
import Icon from "../Icons/Icon.svelte"
import Icon from "../Icon/Icon.svelte"
import Context from "../context"
export let title = undefined
@ -32,6 +32,7 @@
<div
class="spectrum-Dialog spectrum-Dialog--{size}"
style="position: relative;"
role="dialog"
tabindex="-1"
aria-modal="true">
@ -66,7 +67,7 @@
{/if}
{#if showCloseIcon}
<div class="close-icon" on:click={hide}>
<Icon name="closeline" />
<Icon name="Close" />
</div>
{/if}
</div>