@shopgate/engage
Version:
Shopgate's ENGAGE library.
4 lines • 458 B
JavaScript
import{connect}from'react-redux';import{makeGetEnabledFulfillmentMethods}from'@shopgate/engage/core';/**
* Creates the mapStateToProps connector function.
* @returns {Function}
*/var makeMapStateToProps=function makeMapStateToProps(){var getEnabledFulfillmentMethods=makeGetEnabledFulfillmentMethods();return function(state,props){return{enabledFulfillmentMethods:getEnabledFulfillmentMethods(state,props)};};};export default connect(makeMapStateToProps);