Added the close button for all the notifications of the notistack. #5212

This commit is contained in:
Nikhil Mohite
2022-09-23 14:01:18 +05:30
committed by GitHub
parent f052ecffc0
commit 45a1dee9f1
2 changed files with 2 additions and 1 deletions

View File

@@ -145,7 +145,7 @@ let Notifier = {
},
_callNotify(msg, type, autoHideDuration) {
this.notify(
<NotifierMessage style={{maxWidth: '50vw'}} type={type} message={msg} closable={_.isNull(autoHideDuration) ? true : false} />,
<NotifierMessage style={{maxWidth: '50vw'}} type={type} message={msg} closable={true} />,
autoHideDuration
);
},