connectIModelConnection FunctionConst

Beta

Function that will connect a component to the IModelConnection data in the Redux store.

connectIModelConnection(mapStateToProps?: any, mapDispatchToProps?: any): (component: C extends ComponentType<Matching<TInjectedProps, GetProps<C>>>) => ConnectedComponent<C extends ComponentType<Matching<TInjectedProps, GetProps<C>>>, >

Parameter Type Description
mapStateToProps any optional user function that, if defined, will be executed to provide additional properties from store.
mapDispatchToProps any data passed to Redux connect function.

Defined in

Last Updated: 08 January, 2020