mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-24 11:50:59 +08:00
updated module with ClassicComponentClass
This commit is contained in:
1 parent
8d8d78e3d5
commit
89ce6d4f49
1 file changed
+2
-7
@@ -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