Skip to content

Commit 6f39255

Browse files
committed
Improve documentation on hover prop
Closes #495
1 parent fa20c5f commit 6f39255

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ Displays a given month, year, decade and a century, respectively.
150150
|Prop name|Description|Default value|Example values|
151151
|----|----|----|----|
152152
|activeStartDate|The beginning of a period that shall be displayed.|n/a|`new Date(2017, 0, 1)`|
153-
|hover|The date over which the user is hovering.|n/a|`new Date(2017, 0, 1)`|
153+
|hover|The date over which the user is hovering. Used only when `selectRange` is enabled, to render a “WIP” range when the user is selecting range.|n/a|`new Date(2017, 0, 1)`|
154154
|maxDate|Maximum date that the user can select. Periods partially overlapped by maxDate will also be selectable, although react-calendar will ensure that no later date is selected.|n/a|Date: `new Date()`|
155155
|minDate|Minimum date that the user can select. Periods partially overlapped by minDate will also be selectable, although react-calendar will ensure that no earlier date is selected.|n/a|Date: `new Date()`|
156156
|onClick|Function called when the user clicks an item (day on month view, month on year view and so on).|n/a|`(value) => alert('New date is: ', value)`|

0 commit comments

Comments
 (0)