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

22 lines (19 loc) 419 B
import { Loading } from '@shopify/app-bridge-core/actions'; import { RESET_LOADING } from './actions.js'; function reset() { return { type: RESET_LOADING, }; } function start() { return Loading.start(); } function stop() { return Loading.stop(); } var loadingActionCreatorsMap = { start: start, stop: stop, reset: reset, }; export { loadingActionCreatorsMap, reset, start, stop };