UNPKG

@syncfusion/ej2-react-popups

Version:

A package of Essential JS 2 popup components such as Dialog and Tooltip that is used to display information or messages in separate pop-ups. for React

43 lines (42 loc) 1.29 kB
import * as React from 'react'; import { Dialog, DialogModel } from '@syncfusion/ej2-popups'; import { DefaultHtmlAttributes } from '@syncfusion/ej2-react-base'; export interface DialogTypecast { footerTemplate?: string | Function | any; header?: string | Function | any; content?: string | Function | any; } /** * Represents the React Dialog Component * ```html * <Dialog></Dialog> * ``` */ export declare class DialogComponent extends Dialog { state: Readonly<{ children?: React.ReactNode | React.ReactNode[]; }> & Readonly<DialogModel | DefaultHtmlAttributes | DialogTypecast>; setState: any; private getDefaultAttributes; initRenderCalled: boolean; private checkInjectedModules; directivekeys: { [key: string]: Object; }; private statelessTemplateProps; private templateProps; private immediateRender; private isReactMock; props: Readonly<{ children?: React.ReactNode | React.ReactNode[]; }> & Readonly<DialogModel | DefaultHtmlAttributes | DialogTypecast>; forceUpdate: (callBack?: () => any) => void; context: Object; portals: any; isReactComponent: Object; refs: { [key: string]: React.ReactInstance; }; constructor(props: any); render(): any; }