@coherenceplatform/sdk
Version:
Coherence SDK for embedding AI-powered chat into your applications
27 lines • 591 B
TypeScript
import React from 'react';
declare global {
interface Window {
Plotly?: any;
Chart?: any;
}
}
interface ChartMetadata {
type: string;
library?: string;
series?: any[];
data?: any[];
layout?: any;
options?: any;
interactive?: boolean;
raw_config?: any;
}
interface ChartComponentProps {
chart: ChartMetadata;
caption?: string;
className?: string;
onZoom?: () => void;
isEnlarged?: boolean;
}
export declare const ChartComponent: React.FC<ChartComponentProps>;
export {};
//# sourceMappingURL=chart-component.d.ts.map