Notifications have customisable duration and CSS animation in-and-out

This commit is contained in:
James Barnsley
2018-02-27 08:44:20 +13:00
parent 75d6e8c85e
commit e79e213c5a
6 changed files with 61 additions and 27 deletions

View File

@ -183,6 +183,7 @@ export function createNotification(data){
notification: Object.assign(
{
key: helpers.generateGuid(),
duration: 3,
type: 'default',
title: null,
content: null,