import React from 'react';
import Component from '../component';
import Notification_ from './notification';
import { decorate } from '../utils/plugins';
const Notification = decorate(Notification_);
export default class Notifications extends Component {
template (css) {
return
{ this.props.customChildrenBefore }
{
this.props.fontShowing &&
}
{
this.props.resizeShowing &&
}
{
this.props.updateShowing &&
Version { this.props.updateVersion} ready.
{ this.props.updateNote && ` ${this.props.updateNote.trim().replace(/\.$/, '')}` }
{ ' ' }
(notes).
{ ' ' }
Restart
.
{ ' ' }
}
{ this.props.customChildren }
;
}
styles () {
return {
view: {
position: 'fixed',
bottom: '20px',
right: '20px'
}
};
}
}