From 6dff9058d3968f2f7eea6b336fd930a1c39da575 Mon Sep 17 00:00:00 2001 From: Giedrius Grabauskas Date: Mon, 4 Apr 2016 21:01:38 +0300 Subject: [PATCH] Updated level and position types. --- react-notification-system/react-notification-system.d.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/react-notification-system/react-notification-system.d.ts b/react-notification-system/react-notification-system.d.ts index 82d5e9aa2d..4f51314680 100644 --- a/react-notification-system/react-notification-system.d.ts +++ b/react-notification-system/react-notification-system.d.ts @@ -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;