@5minds/processcube_app_sdk
Version:
The SDK for ProcessCube Apps
18 lines (17 loc) • 843 B
TypeScript
import React, { ForwardedRef } from 'react';
import { BPMNViewerFunctions } from './BPMNViewer';
export type DiagramDocumentationInspectorRef = {
bpmnViewerRef: BPMNViewerFunctions & {
onImportDone(callback: () => void): void;
};
};
type DiagramDocumentationInspectorProps = {
xml: string;
setSelectedElementIds?: (elementIds: string[]) => void;
};
export declare const DiagramDocumentationInspector: React.ForwardRefExoticComponent<DiagramDocumentationInspectorProps & React.RefAttributes<DiagramDocumentationInspectorRef>>;
export type DiagramDocumentationInspectorNextJSProps = DiagramDocumentationInspectorProps & {
viewerRef?: ForwardedRef<DiagramDocumentationInspectorRef>;
};
export declare const DiagramDocumentationInspectorNextJS: React.ComponentType<DiagramDocumentationInspectorNextJSProps>;
export {};