Merge pull request #8842 from GiedriusGrabauskas/patch-8

Updated ReactNotificationSystem: added level and position fixed string types
This commit is contained in:
Masahiro Wakame
2016-04-06 19:56:11 +09:00
+2 -2
View File
@@ -22,8 +22,8 @@ declare namespace NotificationSystem {
export interface Notification {
title?: string;
message?: string;
level?: string;
position?: string;
level?: "error" | "warning" | "info" | "success";
position?: "tr" | "tl" | "tc" | "br" | "bl" | "bc";
autoDismiss?: number;
dismissible?: boolean;
action?: ActionObject;