Make detail popover icon function

This commit is contained in:
Andrew Kingston 2024-08-22 08:06:24 +01:00
parent c7c6597424
commit 7431d1c8da
No known key found for this signature in database
1 changed files with 7 additions and 1 deletions

View File

@ -33,7 +33,13 @@
<div class="detail-popover__title">
{title}
</div>
<Icon name="Close" />
<Icon
name="Close"
hoverable
color="var(--spectrum-global-color-gray-600)"
hoverColor="var(--spectum-global-color-gray-900)"
on:click={hide}
/>
</div>
<div class="detail-popover__body">
<slot />