Web: Components: Toast - removed redundant properties
This commit is contained in:
parent
36d2476150
commit
93d0ec5c25
@ -57,14 +57,12 @@ const Toast = (props) => {
|
||||
};
|
||||
|
||||
Toast.propTypes = {
|
||||
autoClosed: PropTypes.bool,
|
||||
/** Accepts class */
|
||||
className: PropTypes.string,
|
||||
/** Accepts id */
|
||||
id: PropTypes.string,
|
||||
/** Accepts css style */
|
||||
style: PropTypes.oneOfType([PropTypes.object, PropTypes.array]),
|
||||
text: PropTypes.string,
|
||||
/** Title inside a toast */
|
||||
title: PropTypes.string,
|
||||
/** Sets the color and icon of the toast */
|
||||
@ -72,8 +70,6 @@ Toast.propTypes = {
|
||||
};
|
||||
|
||||
Toast.defaultProps = {
|
||||
autoClosed: true,
|
||||
text: "Demo text for example",
|
||||
title: "Demo title",
|
||||
type: "success",
|
||||
};
|
||||
|
Loading…
Reference in New Issue
Block a user