@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
11 lines (10 loc) • 471 B
TypeScript
import { AuthCode as AuthCodeActions } from '@shopify/app-bridge-core/actions';
export interface WithFeature {
actions: {
respond: typeof AuthCodeActions.respond;
};
}
declare const _default: <OwnProps>(WrappedComponent: import("react").ComponentType<OwnProps>) => import("react").ComponentType<OwnProps & import("..").ComponentProps & import("../withFeature").FeatureProps<{
respond: typeof AuthCodeActions.respond;
}, {}>>;
export default _default;