@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
19 lines (18 loc) • 766 B
TypeScript
import { ComponentProps } from '../../types';
import { WithFeature } from '../../store/reducers/embeddedApp/navigation';
interface Props {
resolveAppUrl?(appRoot: string, path: string): string;
}
type ComposedProps = Props & WithFeature;
/**
* Handles all actions for the Navigation feature
* @public
* @requires RouterContext
* */
export declare function Navigation(props: ComposedProps): null;
/**
* The Navigation feature with its reducer, actions and a navigation actions handler
* @public
* */
declare const _default: import("@shopify/react-compose").ReactComponent<ComponentProps & Props> & import("@shopify/useful-types").NonReactStatics<import("@shopify/react-compose").ReactComponent<ComposedProps> & typeof Navigation>;
export default _default;