mirror of
https://github.com/wassname/DefinitelyTyped.git
synced 2026-10-25 12:00:38 +08:00
Starting react-addons module
We will use module merging to merge addons into the existing react context.
This commit is contained in:
1 parent
214a2a3dca
commit
bf5cd4b9b1
3 files changed
+125
No files matched your search
Vendored
+4
@@ -4,6 +4,10 @@
|
||||
// Definitions: https://github.com/borisyankov/DefinitelyTyped
|
||||
|
||||
declare module "react" {
|
||||
export = React;
|
||||
}
|
||||
|
||||
declare module React {
|
||||
export function createClass<P, S>(specification: Specification<P, S>): Factory<P>;
|
||||
|
||||
export function renderComponent(component: Descriptor<any>, container: Element, callback?: () => void): void;
|
||||
|
||||
Reference in new issue
Block a user