File tree Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Expand file tree Collapse file tree 3 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ class SemanticToastContainer extends Component {
73
73
74
74
return toasts . length ? (
75
75
< div className = { `ui-alerts ${ position } ${ className } ` } >
76
- { this . state . toasts . map ( toast => {
76
+ { toasts . map ( toast => {
77
77
const {
78
78
id,
79
79
type = 'info' ,
Original file line number Diff line number Diff line change @@ -54,9 +54,9 @@ SemanticToast.propTypes = {
54
54
} ;
55
55
56
56
SemanticToast . defaultProps = {
57
- onClick : undefined ,
58
- onDismiss : undefined ,
59
- onClose : undefined ,
57
+ onClick : ( ) => undefined ,
58
+ onDismiss : ( ) => undefined ,
59
+ onClose : ( ) => undefined ,
60
60
icon : undefined ,
61
61
color : undefined ,
62
62
list : undefined ,
Original file line number Diff line number Diff line change 43
43
"eslint-plugin-import" : " ^2.18.2" ,
44
44
"eslint-plugin-jsx-a11y" : " ^6.2.3" ,
45
45
"eslint-plugin-react" : " ^7.14.3" ,
46
+ "eslint-config-prettier" : " ^6.0.0" ,
47
+ "prettier-eslint" : " ^9.0.0" ,
46
48
"semantic-ui-css" : " ^2.4.1"
47
49
},
48
50
"dependencies" : {
49
- "eslint-config-prettier" : " ^6.0.0" ,
50
- "prettier-eslint" : " ^9.0.0" ,
51
51
"prop-types" : " ^15.7.2"
52
52
},
53
53
"peerDependencies" : {
54
54
"react" : " 16.x.x" ,
55
- "semantic-ui-react" : " 0.83.x || 0.84.x || 0.85.x || 0.86.x || 0.87.x"
55
+ "semantic-ui-react" : " 0.83.x || 0.84.x || 0.85.x || 0.86.x || 0.87.x || 0.88.x "
56
56
}
57
57
}
You can’t perform that action at this time.
0 commit comments