Skip to content

Commit

Permalink
docs: fixed return type for View parameter (#1677)
Browse files Browse the repository at this point in the history
  • Loading branch information
catruzz authored Jun 8, 2020
1 parent 12233ef commit 62132eb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Calendar.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ class Calendar extends React.Component {
/**
*
* ```js
* (dates: Date[] | { start: Date; end: Date }, view?: 'month'|'week'|'work_week'|'day'|'agenda') => void
* (dates: Date[] | { start: Date; end: Date }, view: 'month'|'week'|'work_week'|'day'|'agenda'|undefined) => void
* ```
*
* Callback fired when the visible date range changes. Returns an Array of dates
Expand Down

0 comments on commit 62132eb

Please sign in to comment.