mirror of
https://github.com/zhigang1992/DefinitelyTyped.git
synced 2026-04-22 11:57:33 +08:00
updated module with ClassicComponentClass
This commit is contained in:
@@ -75,15 +75,10 @@ declare module NotificationSystem {
|
||||
ref?: string;
|
||||
style?: Style | boolean;
|
||||
}
|
||||
|
||||
|
||||
export interface Component {
|
||||
(): React.ReactElement<Attributes>;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
declare module 'react-notification-system' {
|
||||
var component: NotificationSystem.Component;
|
||||
var component: __React.ClassicComponentClass<NotificationSystem.Attributes>;
|
||||
export = component;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user