You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
which doesn't match the actual prop type defined in the component (.js file):
iconVariant: PropTypes.shape({
/**
* Icon displayed when variant of a snackbar is set to `success`.
*/
success: PropTypes.any.isRequired,
/**
* Icon displayed when variant of a snackbar is set to `warning`.
*/
warning: PropTypes.any.isRequired,
/**
* Icon displayed when variant of a snackbar is set to `error`.
*/
error: PropTypes.any.isRequired,
/**
* Icon displayed when variant of a snackbar is set to `info`.
*/
info: PropTypes.any.isRequired,
}),
The text was updated successfully, but these errors were encountered:
amakhrov
pushed a commit
to amakhrov/notistack
that referenced
this issue
Mar 9, 2019
The current definition is
which doesn't match the actual prop type defined in the component (.js file):
The text was updated successfully, but these errors were encountered: