viser-react
Version:
viser-react is react of viser.
23 lines (22 loc) • 704 B
TypeScript
import * as PropTypes from 'prop-types';
import * as React from 'react';
import { IView } from 'viser';
export default class View extends React.Component<IView, any> {
static childContextTypes: {
hasInViews: PropTypes.Requireable<boolean>;
viewId: PropTypes.Requireable<string>;
};
static contextTypes: {
centralizedUpdates: PropTypes.Requireable<(...args: any[]) => any>;
hasInViews: PropTypes.Requireable<boolean>;
};
displayName: string;
constructor(props: IView);
getChildContext(): {
hasInViews: any;
viewId: any;
};
componentDidUpdate(): void;
componentDidMount(): void;
render(): {} | null | undefined;
}