@kedao/editor
Version:
Rich Text Editor Based On Draft.js
23 lines (22 loc) • 680 B
TypeScript
import React from 'react';
import './style.scss';
export declare const showModal: (props: any) => any;
declare class Modal extends React.Component<any, any> {
active: boolean;
componentId: string;
rootElement: any;
activeId: any;
constructor(props: any);
componentDidMount(): void;
UNSAFE_componentWillReceiveProps(next: any): void;
handleTransitionEnd: () => boolean;
handleMouseDown: (event: any) => boolean;
handleCancel: () => void;
handleConfirm: () => void;
handleMaskClick: () => void;
close: () => void;
unrenderComponent(): void;
renderComponent(props: any): boolean;
render(): any;
}
export default Modal;