Skip to content

Commit

Permalink
docs(react/date-range-picker): add different format for date range pi…
Browse files Browse the repository at this point in the history
…cker story
  • Loading branch information
travor20814 committed Feb 19, 2024
1 parent b52ace6 commit f81623f
Showing 1 changed file with 6 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,12 @@ export const Playground: StoryFn<PlaygroundArgs> = ({
${moment(val?.[1]).format(getDefaultModeFormat(mode || 'day'))}
]`}
</Typography>
<Typography variant="body1" style={typoStyle}>
{`format in YYYY-MM-DD: [
${moment(val?.[0]).format(getDefaultModeFormat('day'))},
${moment(val?.[1]).format(getDefaultModeFormat('day'))}
]`}
</Typography>
<DateRangePicker
clearable={clearable}
disabled={disabled}
Expand Down

0 comments on commit f81623f

Please sign in to comment.