import type { Context, ReactChild } from 'react' import type { RouteComponentProps } from 'react-router-dom' import type { IContext } from './route' type IProps = T & { children: ReactChild initialState?: any context: Context } type SProps = T & RouteComponentProps interface Action { type: string payload: object } export { IProps, Action, SProps }