UNPKG

@shopify/app-bridge

Version:

[![Build Status](https://travis-ci.com/Shopify/app-bridge.svg?token=RBRyvqQyN525bnfz7J8p&branch=master)](https://travis-ci.com/Shopify/app-bridge) [![codecov](https://codecov.io/gh/Shopify/app-bridge/branch/master/graph/badge.svg?token=nZ21m39Dr6)](https:

20 lines (19 loc) 456 B
/// <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; }