chore(web): move BaseModal to callback pattern (#8696)

* chore(web): move BaseModal to callback to close

* chore: add question mark
This commit is contained in:
Ben 2024-04-11 09:01:16 +00:00 committed by GitHub
parent 8c9a092561
commit 37eea2d353
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
16 changed files with 37 additions and 45 deletions

View file

@ -55,7 +55,7 @@
aria-modal="true"
aria-labelledby={titleId}
>
<ModalHeader id={titleId} {title} {showLogo} {icon} on:close={() => onClose?.()} />
<ModalHeader id={titleId} {title} {showLogo} {icon} {onClose} />
<div class="p-5 pt-0">
<slot />
</div>