// Type definitions for react-frame-component 4.1 // Project: https://github.com/ryanseddon/react-frame-component // Definitions by: Alex Bukurov // Definitions: https://github.com/DefinitelyTyped/DefinitelyTyped // TypeScript Version: 2.8 import * as React from 'react'; export interface FrameComponentProps extends React.IframeHTMLAttributes { head?: React.ReactNode; mountTarget?: string; initialContent?: string; contentDidMount?: () => void; contentDidUpdate?: () => void; children: React.ReactNode; } export default class FrameComponent extends React.Component {} export interface FrameContextProps { document?: any; window?: any; } export const FrameContext: React.Context; export const FrameContextProvider: React.Provider; export const FrameContextConsumer: React.Consumer;