fix(tag): allow on:close to work with Svelte 5 (#2097)

Fixes #2096
This commit is contained in:
Eric Liu 2025-02-04 14:28:58 -08:00 committed by GitHub
commit 6e65ef39e7
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -82,7 +82,7 @@
class:bx--tag__close-icon={true}
{disabled}
{title}
on:click|stopPropagation
on:click
on:click|stopPropagation={() => {
dispatch("close");
}}