You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 25, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: README.md
+11-28
Original file line number
Diff line number
Diff line change
@@ -104,41 +104,23 @@ class MyView extends React.Component {
104
104
105
105
### Props
106
106
107
-
#### `range`
107
+
**`range`** - `bool` / `false` - select range or single date
108
108
109
-
`bool`/ `false` - select range or single date
109
+
**`months`** - `number`/ `1` - number of visible months
110
110
111
-
#### `months`
111
+
**`initialVisibleMonth`** - `number` / `0` - first visible month. `-1` previous, `1` next, etc.
112
112
113
-
`number` / `1` - number of visible months
113
+
**`onDateSelect`** - `function` / **required** - will be called every time start / end date was changed. For `range={false}` will always set `type='START'`.
114
114
115
-
#### `initialVisibleMonth`
115
+
**`minDate`** - `moment` / `-Infinity` - min. date that can be selected.
116
116
117
-
`number` / `0` - first visible month. `-1` previous, `1` next, etc.
117
+
**`maxDate`** - `moment` / `-Infinity` - max. date that can be selected.
118
118
119
-
#### `onDateSelect`
119
+
**`modifires`** - `object` / See `Default modifiers` section.
120
120
121
-
`function` / **required** - will be called every time start / end date was changed. For`range={false}`will always set `type='START'`.
0 commit comments