Skip to content

Commit

Permalink
Fix missing prop types
Browse files Browse the repository at this point in the history
  • Loading branch information
wojtekmaj committed Jun 26, 2019
1 parent 919a9a1 commit ba3808c
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/DateInput.jsx
Expand Up @@ -540,14 +540,17 @@ DateInput.defaultProps = {

DateInput.propTypes = {
className: PropTypes.string.isRequired,
dayAriaLabel: PropTypes.string,
disabled: PropTypes.bool,
format: PropTypes.string,
isCalendarOpen: PropTypes.bool,
locale: PropTypes.string,
maxDate: isMaxDate,
maxDetail: PropTypes.oneOf(allViews),
minDate: isMinDate,
monthAriaLabel: PropTypes.string,
name: PropTypes.string,
nativeInputAriaLabel: PropTypes.string,
onChange: PropTypes.func,
required: PropTypes.bool,
returnValue: PropTypes.oneOf(['start', 'end', 'range']),
Expand All @@ -557,6 +560,7 @@ DateInput.propTypes = {
PropTypes.instanceOf(Date),
PropTypes.arrayOf(PropTypes.instanceOf(Date)),
]),
yearAriaLabel: PropTypes.string,
};

polyfill(DateInput);

0 comments on commit ba3808c

Please sign in to comment.