@shopify/app-bridge
Version:
[](https://travis-ci.com/Shopify/app-bridge) [](https:
20 lines (19 loc) • 456 B
TypeScript
/// <reference types="react" />
/**
* @module host
*/
import React from 'react';
import { Application } from './';
export interface FrameProps {
app: Application;
title: string;
url: string;
[key: string]: any;
}
export declare class Frame extends React.PureComponent<FrameProps, never> {
iframe?: HTMLIFrameElement;
detach?: Function;
componentDidMount(): void;
componentWillUnmount(): void;
render(): JSX.Element;
}