1
0
mirror of https://github.com/haiwen/seahub.git synced 2025-09-14 22:33:17 +00:00

update Toast to toaster

This commit is contained in:
shanshuirenjia
2018-12-07 14:58:37 +08:00
parent ef838eab4d
commit 2f4b881c12
9 changed files with 44 additions and 42 deletions

View File

@@ -88,7 +88,7 @@ export default class ToastManager extends React.PureComponent {
title,
description: settings.description,
hasCloseButton: settings.hasCloseButton || true,
duration: settings.duration || 5,
duration: settings.duration || 2,
close: () => this.closeToast(id),
intent: settings.intent
};