UNPKG

@tdb/web

Version:

Common condiguration for serving a web-site and testing web-based UI components.

14 lines (13 loc) 381 B
/// <reference types="react" /> import { React } from '../../common'; export interface IHomeProps { cookieCount?: number; } export interface IHomeState { isAuthenticated: boolean; } export declare class Home extends React.PureComponent<IHomeProps, IHomeState> { static getInitialProps(ctx: any): Promise<IHomeProps>; state: IHomeState; render(): JSX.Element; }