v0ltoz / react-datetimepicker

MIT License
91 stars 69 forks source link

Add .isRequired to "start" and "end" prop proptypes in DateTimeRangePicker.jsx #35

Closed burdiuz closed 4 years ago

burdiuz commented 4 years ago

Since you are accessing start and end props to generate labels on component initialization(L:31,33), these props should be required. Looks like Container should require them too.