@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
6 lines (5 loc) • 448 B
TypeScript
import { TitleBar } from '@shopify/app-bridge-core/actions';
import type { ActionProps, Target } from '@shopify/app-bridge-core/actions/TitleBar';
export declare function unsub(): void;
export declare function updateButton(action: TitleBar.Action, actionProps: ActionProps, subscribe: any, dispatch: any): string;
export declare function generateRedirect(dispatch: any, url?: string, target?: Target, external?: boolean): (() => void) | undefined;