dyna-ui-modal-container
Version:
React modal container
26 lines (25 loc) • 855 B
TypeScript
import * as React from "react";
export interface IDynaModalContainerProps {
className?: string;
show: boolean;
children: any;
onClick?: () => void;
disableBodyScrollOnShow?: boolean;
onBeforeShow?: () => void;
onAfterShow?: () => void;
onBeforeHide?: () => void;
onAfterHide?: () => void;
}
export declare class DynaModalContainer extends React.Component<IDynaModalContainerProps> {
static defaultProps: IDynaModalContainerProps;
private rootDivContainer;
private modalContainer;
private showValue;
private initialOverflowY;
componentDidMount(): void;
componentWillUnmount(): void;
private modalContainerDidMount(modalContainer);
componentWillReceiveProps(nextProps: IDynaModalContainerProps): void;
private show(showValue);
render(): JSX.Element;
}