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

20 lines (19 loc) 734 B
import { ActionCreatorsMapObject } from 'redux'; import * as TitleBar from '@shopify/app-bridge-core/actions/TitleBar'; 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;