@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) • 719 B
TypeScript
import { ActionCreatorsMapObject } from 'redux';
import { TitleBar } from '@shopify/app-bridge/actions';
import { setPagination, setAppInfo } from './actions';
/**
* The interface for the mapped Title Bar actions dispatcher
* @internal
* */
export interface TitleBarActionCreatorsMap extends ActionCreatorsMapObject {
clickActionButton: typeof TitleBar.clickActionButton;
clickBreadcrumb: typeof TitleBar.clickBreadcrumb;
setPagination: typeof setPagination;
setAppInfo: typeof setAppInfo;
update: typeof TitleBar.update;
}
/**
* Returns a mapped object with methods for dispatching Title Bar actions
* @internal
* */
export declare const titleBarActionCreatorsMap: TitleBarActionCreatorsMap;