UNPKG

chayns-components

Version:

A set of beautiful React components for developing chayns® applications.

9 lines (7 loc) 457 B
import _extends from "@babel/runtime/helpers/extends"; import React from 'react'; import SetupWizardContext from './setupWizardContext'; // HOC const withSetupWizardContext = WrappedComponent => props => /*#__PURE__*/React.createElement(SetupWizardContext.Consumer, null, context => /*#__PURE__*/React.createElement(WrappedComponent, _extends({}, context, props))); export default withSetupWizardContext; //# sourceMappingURL=withSetupWizardContext.js.map