Merge pull request #7584 from AyaMorisawa/react-notification-system-patch1

Update react-notification-system.d.ts
This commit is contained in:
Masahiro Wakame
2016-01-23 21:58:26 +09:00
+4 -4
View File
@@ -10,8 +10,8 @@ declare module NotificationSystem {
import React = __React;
export interface System extends React.Component<any, any> {
addNotification(notification: Notification): Notification;
removeNotification(notification: Notification): void;
addNotification(notification: Notification): Notification;
removeNotification(notification: Notification): void;
removeNotification(uid: string): void;
}
@@ -34,7 +34,7 @@ declare module NotificationSystem {
export interface ActionObject {
label: string;
callback?: Function;
callback?: () => void;
}
export interface ContainersStyle {
@@ -75,7 +75,7 @@ declare module NotificationSystem {
ref?: string;
style?: Style | boolean;
}
export interface Component {
(): React.ReactElement<Attributes>;