Options
All
  • Public
  • Public/Protected
  • All
Menu

Module createConnect

Index

Classes

Interfaces

Functions

Functions

createConnect

  • createConnect<T>(state: State<T>): <TProps, TFunctionProps, TOwnProps>(mapStateToProps: IMapStateToProps<RecordOf<T>, TProps, TOwnProps>, mapStateToFunctions?: IMapStateToFunctions<RecordOf<T>, TProps, TFunctionProps, TOwnProps>) => (Component: ComponentType<TOwnProps & TProps & TFunctionProps>) => ComponentClass<TOwnProps, any>
  • Type parameters

    • T

    Parameters

    • state: State<T>

    Returns <TProps, TFunctionProps, TOwnProps>(mapStateToProps: IMapStateToProps<RecordOf<T>, TProps, TOwnProps>, mapStateToFunctions?: IMapStateToFunctions<RecordOf<T>, TProps, TFunctionProps, TOwnProps>) => (Component: ComponentType<TOwnProps & TProps & TFunctionProps>) => ComponentClass<TOwnProps, any>

      • <TProps, TFunctionProps, TOwnProps>(mapStateToProps: IMapStateToProps<RecordOf<T>, TProps, TOwnProps>, mapStateToFunctions?: IMapStateToFunctions<RecordOf<T>, TProps, TFunctionProps, TOwnProps>): (Component: ComponentType<TOwnProps & TProps & TFunctionProps>) => ComponentClass<TOwnProps, any>
      • Type parameters

        • TProps = Record<string, unknown>

        • TFunctionProps = Record<string, unknown>

        • TOwnProps = Record<string, unknown>

        Parameters

        • mapStateToProps: IMapStateToProps<RecordOf<T>, TProps, TOwnProps>
        • mapStateToFunctions: IMapStateToFunctions<RecordOf<T>, TProps, TFunctionProps, TOwnProps> = returnsEmptyObject as any

        Returns (Component: ComponentType<TOwnProps & TProps & TFunctionProps>) => ComponentClass<TOwnProps, any>

          • (Component: ComponentType<TOwnProps & TProps & TFunctionProps>): ComponentClass<TOwnProps, any>
          • Parameters

            • Component: ComponentType<TOwnProps & TProps & TFunctionProps>

            Returns ComponentClass<TOwnProps, any>

Generated using TypeDoc