Skip to content

Commit

Permalink
Fix invalidLabel prop-types warning (mui#1140)
Browse files Browse the repository at this point in the history
* [mui#1126] Fix rerendering loop

* Fix invalidLabel prop-type warning
  • Loading branch information
dmtrKovalenko authored Jun 24, 2019
2 parents f9a77bb + 0abd0ea commit 433a450
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions lib/src/Picker/WrappedKeyboardPicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ export function makeKeyboardPicker<T extends any>({
value,
dateRangeIcon,
emptyLabel,
invalidLabel,
timeIcon,
variant,
disableToolbar,
Expand Down
1 change: 1 addition & 0 deletions lib/src/Picker/WrappedPurePicker.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ export function makePurePicker<T extends any>({
shouldDisableDate,
dateRangeIcon,
emptyLabel,
invalidLabel,
timeIcon,
value,
variant,
Expand Down

0 comments on commit 433a450

Please sign in to comment.