Web: components: Toast: added isRequired condition
This commit is contained in:
parent
b10e2eb310
commit
a9470612e8
@ -141,7 +141,7 @@ Toast.propTypes = {
|
||||
autoClosed: PropTypes.bool,
|
||||
text: PropTypes.string,
|
||||
title: PropTypes.string,
|
||||
type: PropTypes.oneOf(['success', 'error', 'warning', 'info']),
|
||||
type: PropTypes.oneOf(['success', 'error', 'warning', 'info']).isRequired,
|
||||
};
|
||||
|
||||
Toast.defaultProps = {
|
||||
|
Loading…
Reference in New Issue
Block a user