Skip to content

Commit

Permalink
classes prop shouldn't be required.
Browse files Browse the repository at this point in the history
  • Loading branch information
loriensleafs committed Mar 25, 2019
1 parent 3afaf37 commit 9d14d6a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/FilledInput/FilledInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,7 @@ FilledInput.propTypes = {
* Override or extend the styles applied to the component.
* See [CSS API](#css-api) below for more details.
*/
classes: PropTypes.object.isRequired,
classes: PropTypes.object,
// The CSS class name of the wrapper element.
className: PropTypes.string,
// The default input value, useful when not controlling the component.
Expand Down
2 changes: 1 addition & 1 deletion src/InputAdornment/InputAdornment.js
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ InputAdornment.propTypes = {
* Override or extend the styles applied to the component.
* See [CSS API](#css-api) below for more details.
*/
classes: PropTypes.object.isRequired,
classes: PropTypes.object,
className: PropTypes.string,
// If children is a string then disable wrapping in a Typography component.

Expand Down

0 comments on commit 9d14d6a

Please sign in to comment.