Type Transition with $$Props

But getting some cryptic errors
This commit is contained in:
Ryan Gossiaux
2022-02-08 16:01:43 -08:00
parent f03512d07c
commit 42d792e72c
4 changed files with 63 additions and 11 deletions

View File

@@ -55,7 +55,7 @@
{#if nested}
<Nested on:close={() => (nested = false)} />
{/if}
<Transition show={isOpen} afterLeave={() => console.log("done")}>
<Transition show={isOpen} on:afterLeave={() => console.log("done")}>
<Dialog on:close={() => (isOpen = false)}>
<div class="fixed z-10 inset-0 overflow-y-auto">
<div