Skip to content

Commit

Permalink
docs: little documentation clarification (#1700)
Browse files Browse the repository at this point in the history
The `step` property accepts minutes but this is not explicitly mentioned. Although the default value of `30` suggests that minutes should be given, this is not immediately obvious.
  • Loading branch information
th0rgall authored Jul 12, 2020
1 parent 206aa7f commit c52609b
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 @@ -454,7 +454,7 @@ class Calendar extends React.Component {
longPressThreshold: PropTypes.number,

/**
* Determines the selectable time increments in week and day views
* Determines the selectable time increments in week and day views, in minutes.
*/
step: PropTypes.number,

Expand Down

0 comments on commit c52609b

Please sign in to comment.