forked from BLC/AyposWeb
fix: improve stress testing functionality and stop button behavior
This commit is contained in:
25
src/plotly.d.ts
vendored
Normal file
25
src/plotly.d.ts
vendored
Normal file
@@ -0,0 +1,25 @@
|
||||
declare module 'react-plotly.js' {
|
||||
import * as Plotly from 'plotly.js';
|
||||
import * as React from 'react';
|
||||
|
||||
interface PlotParams {
|
||||
data: Plotly.Data[];
|
||||
layout?: Partial<Plotly.Layout>;
|
||||
frames?: Plotly.Frame[];
|
||||
config?: Partial<Plotly.Config>;
|
||||
onClick?: (event: Plotly.PlotMouseEvent) => void;
|
||||
onHover?: (event: Plotly.PlotMouseEvent) => void;
|
||||
onUnHover?: (event: Plotly.PlotMouseEvent) => void;
|
||||
onSelected?: (event: Plotly.PlotSelectionEvent) => void;
|
||||
onDeselect?: () => void;
|
||||
onDoubleClick?: () => void;
|
||||
style?: React.CSSProperties;
|
||||
className?: string;
|
||||
debug?: boolean;
|
||||
useResizeHandler?: boolean;
|
||||
[key: string]: any;
|
||||
}
|
||||
|
||||
class Plot extends React.Component<PlotParams> {}
|
||||
export default Plot;
|
||||
}
|
||||
Reference in New Issue
Block a user