Skip to content

Commit

Permalink
Add default minimum/maximum length props on DateRangePicker
Browse files Browse the repository at this point in the history
  • Loading branch information
hernansartorio committed May 9, 2020
1 parent 0f0a50d commit c49a69c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/DateRangePicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -133,5 +133,7 @@ DateRangePicker.propTypes = {

DateRangePicker.defaultProps = {
onStartDateChange: () => {},
onEndDateChange: () => {}
onEndDateChange: () => {},
minimumLength: 0,
maximumLength: null
}

0 comments on commit c49a69c

Please sign in to comment.