Skip to content

Commit c35d826

Browse files
authored
Update README.md
The props for DateRange are missing the 2 parameters to initialize the range value (startDate and endDate).
1 parent 1b8e241 commit c35d826

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,8 @@ class MyComponent extends Component {
7676
```
7777

7878
###### Available Options (props)
79-
* **date:** *(String, Moment.js object, Function)* - default: today
79+
* **startDate:** *(String, Moment.js object, Function)* - default: today
80+
* **endDate:** *(String, Moment.js object, Function)* - default: today
8081
* **format:** *(String)* - default: DD/MM/YYY
8182
* **firstDayOfWeek** *(Number)* - default: [moment.localeData().firstDayOfWeek()](http://momentjs.com/docs/#/i18n/locale-data/)
8283
* **theme:** *(Object)* see [Demo's source](https://github.com/Adphorus/react-date-range/blob/master/demo/src/components/Main.js#L143)

0 commit comments

Comments
 (0)