UNPKG

armstrong-react

Version:

Rocketmakers Armstrong library of React components

27 lines (26 loc) 797 B
import * as React from "react"; export interface IDialogProps extends React.HTMLProps<Dialog> { bodyId?: string; layerClass?: string; title?: string; isOpen: boolean; onClose?: () => void; onOpen?: () => void; onXClicked?: () => void; footerContent?: JSX.Element; } export declare class Dialog extends React.Component<IDialogProps, {}> { private dialogContentElement; private appNode; private portalNode; private dialogId; closeClicked(): void; scrollToTop(): void; componentDidMount(): void; componentWillReceiveProps(newProps: IDialogProps): void; renderToPortal(element: any): void; componentWillUnmount(): void; unmountPortalNode(): boolean; renderDialog(children: any): JSX.Element; render(): JSX.Element; }