1 |
|
2 | interface IObserverProps {
|
3 | children?(): React.ReactElement | null;
|
4 | render?(): React.ReactElement | null;
|
5 | }
|
6 | declare function ObserverComponent({ children, render }: IObserverProps): import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | null;
|
7 | declare namespace ObserverComponent {
|
8 | var propTypes: {
|
9 | children: typeof ObserverPropsCheck;
|
10 | render: typeof ObserverPropsCheck;
|
11 | };
|
12 | var displayName: string;
|
13 | }
|
14 | export { ObserverComponent as Observer };
|
15 | declare function ObserverPropsCheck(props: {
|
16 | [k: string]: any;
|
17 | }, key: string, componentName: string, location: any, propFullName: string): Error | null;
|