Skip to content

Commit

Permalink
fix: update props documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
6eDesign committed Sep 19, 2021
1 parent 43199af commit 926f7a6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/routes/docs/props.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@
},
{
name: 'start',
defaultVal: 'new Date()',
defaultVal: "dayjs().add(-100, 'year').toDate()",
description: 'The minimum date a user can select.'
},
{
name: 'end',
defaultVal: "dayjs(start).add('year', 1).toDate()",
defaultVal: "dayjs(start).add(100, 'year').toDate()",
description: 'The maximum date a user can select.'
},
{
Expand Down

0 comments on commit 926f7a6

Please sign in to comment.