connectIModelConnection Function

Deprecated  in 4.15.0. Components should take iModel connection as props.

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

connectIModelConnection(mapStateToProps?: any, mapDispatchToProps?: any): InferableComponentEnhancerWithProps<any, any>

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.

Returns - InferableComponentEnhancerWithProps<any, any>

Defined in

Last Updated: 20 November, 2024