mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Applied success and error states to notifications
This commit is contained in:
parent
0a40206116
commit
1a52840789
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ class NotificationContent extends React.Component {
|
||||||
const {notificationType: type, notificationStatus: status} = this.context;
|
const {notificationType: type, notificationStatus: status} = this.context;
|
||||||
return (
|
return (
|
||||||
<div className='gh-portal-notification-wrapper'>
|
<div className='gh-portal-notification-wrapper'>
|
||||||
<div className='gh-portal-notification'>
|
<div className={'gh-portal-notification' + (status ? ' success' : ' error')}>
|
||||||
<NotificationText type={type} status={status} />
|
<NotificationText type={type} status={status} />
|
||||||
<CloseIcon className='gh-portal-notification-closeicon' alt='Close' onClick={e => this.onNotificationClose(e)} />
|
<CloseIcon className='gh-portal-notification-closeicon' alt='Close' onClick={e => this.onNotificationClose(e)} />
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Reference in a new issue