UNPKG

@shopify/app-bridge-host

Version:

App Bridge Host contains components and middleware to be consumed by the app's host, as well as the host itself. The middleware and `Frame` component are responsible for facilitating communication between the client and host, and used to act on actions se

27 lines (20 loc) 681 B
'use strict'; Object.defineProperty(exports, '__esModule', { value: true }); var compose = require('@shopify/react-compose'); var withStatelessFeature = require('./utilities/withStatelessFeature.js'); function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; } var compose__default = /*#__PURE__*/_interopDefault(compose); /** * The UI component for the Scanner feature * @public * */ function Scanner() { return null; } /** * The Scanner feature with its reducer, actions and UI component * @public * */ var Scanner$1 = compose__default.default(withStatelessFeature('scanner'))(Scanner); exports.Scanner = Scanner; exports.default = Scanner$1;