Skip to content

Commit 7dff209

Browse files
author
Manu
committed
- v1.7.0
1 parent c09d227 commit 7dff209

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/components/Snackbar/Snackbar.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -73,7 +73,7 @@ Snackbar.propTypes = {
7373
message: PropTypes.node.isRequired,
7474
color: PropTypes.oneOf(["info", "success", "warning", "danger", "primary"]),
7575
close: PropTypes.bool,
76-
icon: PropTypes.func,
76+
icon: PropTypes.object,
7777
place: PropTypes.oneOf(["tl", "tr", "tc", "br", "bl", "bc"]),
7878
open: PropTypes.bool,
7979
rtlActive: PropTypes.bool,

src/components/Snackbar/SnackbarContent.jsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ SnackbarContent.propTypes = {
5151
message: PropTypes.node.isRequired,
5252
color: PropTypes.oneOf(["info", "success", "warning", "danger", "primary"]),
5353
close: PropTypes.bool,
54-
icon: PropTypes.func,
54+
icon: PropTypes.object,
5555
rtlActive: PropTypes.bool
5656
};
5757

0 commit comments

Comments
 (0)