mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-27 12:21:19 +08:00
Merge pull request #8842 from GiedriusGrabauskas/patch-8
Updated ReactNotificationSystem: added level and position fixed string types
This commit is contained in:
commit
43a333f05b
1 file changed
+2
-2
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user