Skip to content

Commit 3a5bd43

Browse files
committed
feat: pass selected to slot
1 parent 31bd38e commit 3a5bd43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Components/Datepicker.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -268,7 +268,7 @@
268268
on:closed="{registerClose}"
269269
>
270270
<div slot="trigger">
271-
<slot>
271+
<slot {selected}>
272272
{#if !trigger}
273273
<button class="calendar-button" type="button">
274274
{formattedSelected}

0 commit comments

Comments
 (0)