Skip to content

Commit 926f7a6

Browse files
committed
fix: update props documentation
1 parent 43199af commit 926f7a6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/routes/docs/props.svelte

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@
1515
},
1616
{
1717
name: 'start',
18-
defaultVal: 'new Date()',
18+
defaultVal: "dayjs().add(-100, 'year').toDate()",
1919
description: 'The minimum date a user can select.'
2020
},
2121
{
2222
name: 'end',
23-
defaultVal: "dayjs(start).add('year', 1).toDate()",
23+
defaultVal: "dayjs(start).add(100, 'year').toDate()",
2424
description: 'The maximum date a user can select.'
2525
},
2626
{

0 commit comments

Comments
 (0)