UNPKG

fybdp-d3-kg

Version:

Knowledge Graph using React and D3.js

31 lines (30 loc) 1.12 kB
export declare class WarningModule { defaultOpts: { title: string; text: string; html: string; icon: string; showCloseButton: boolean; showConfirmButton: boolean; confirmButtonColor: string; confirmButtonText: string; showCancelButton: boolean; focusConfirm: boolean; cancelButtonText: string; cancelButtonColor: string; closeOnConfirm: boolean; closeOnCancel: boolean; }; constructor(opts?: {}); /** * * @param title * @param message * @param icon 'success' | 'error' | 'warning' | 'info' | 'question' */ showMessage: (title?: string | undefined, message?: string | undefined, ico?: string) => void; showWarning: (header: string, reason: string, action: string, type?: number | undefined, additionalOpts?: any) => void; responseWarning: (header: any, reason: any, action: any, callback: any, parameterArray: any, forcedWarning?: boolean | undefined) => void; showEditorHint: () => void; closeMessage: () => void; }