UNPKG

350 BTypeScriptView Raw
1/// <reference types="react" />
2import { React } from './common';
3import { IStore } from './types';
4export interface IConnectProps {
5 store?: IStore<any, any>;
6}
7export declare function connect<P>(component: React.SFC<any> | React.ComponentClass<any> | string, options?: {
8 autoRender?: boolean;
9 path?: string;
10}): React.ComponentClass<P>;