Skip to content

Commit

Permalink
does this resolve the error?
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxim authored and Maxim committed Nov 17, 2022
1 parent b7e2b7c commit 234b89a
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/DateTimeRangePicker/DatePicker/DatePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ const DatePicker: React.FunctionComponent<IProps> = (
initialDate,
months = 1,
onFromDateChanged,
onUntilDateChanged,
onUntilDateChanged
}
) => {
const [calendarMode, setCalendarMode] = useState<TCalendarMode>('normal')
Expand Down
6 changes: 5 additions & 1 deletion src/DateTimeRangePicker/DateTimeRangePicker.stories.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,11 @@ export default {
}
const someDate = moment('2021/06/15')

export const basic = () => <DateTimeRangePicker calendarLocale={'fr'} initialDate={someDate} onChange={(date, date2) => console.log(date, date2)}/>
export const basic = () => <DateTimeRangePicker
calendarLocale={'fr'}
initialDate={someDate}
onChange={(date, date2) => console.log(date, date2)}
/>
export const dateTime = () => <DateTimeRangePicker time onChange={(date, date2) => console.log(date, date2)}/>
export const range = () => <DateTimeRangePicker range={true} onChange={(date, date2) => console.log(date, date2)} />
export const rangeWithMultipleMonths = () => {
Expand Down

0 comments on commit 234b89a

Please sign in to comment.