UNPKG

@mondora/microfrontends

Version:

Library for embedding frontends into one another

26 lines (25 loc) 609 B
import { IMethods } from "penpal"; import React from "react"; interface IProps { url: string; onLaunched?: () => void; suppliedMethods?: IMethods; launchData?: any; launchingPlaceholder?: React.ReactNode; className?: string; } interface IState { isLaunching: boolean; } export default class ChildAppReactComponent extends React.Component<IProps, IState> { static defaultProps: { launchingPlaceholder: null; }; state: { isLaunching: boolean; }; private childIFrame; componentDidMount(): Promise<void>; render(): JSX.Element; } export {};