UNPKG

@shopify/app-bridge-host

Version:

App Bridge Host contains middleware and components that are meant to be consumed by the app's host. The middleware and `Frame` component are responsible for facilitating messages posted between the client and host, and used to act on actions sent from the

20 lines (19 loc) 771 B
import reducer, { defaultNavigationStore } from './reducer'; import { Feature } from '../../../../withFeature'; import { NavigationActionCreatorsMap, NavigationStore } from '../..'; export default reducer; export * from './actionCreators'; export * from './actions'; export * from './types'; export { defaultNavigationStore }; export interface WithFeature { actions: NavigationActionCreatorsMap; store: NavigationStore; } /** * An object containing the key, actions, initial state and reducer of the Navigation feature * Can be used with the `withFeature` decorator to add the reducer * and then make its actions and store available to the wrapped component * @public * */ export declare const feature: Feature<WithFeature['store'], WithFeature['actions']>;