File tree Expand file tree Collapse file tree 2 files changed +21
-6
lines changed Expand file tree Collapse file tree 2 files changed +21
-6
lines changed Original file line number Diff line number Diff line change @@ -4,11 +4,26 @@ export interface IPlotlyChartProps {
4
4
data : any [ ] ;
5
5
layout ?: any ;
6
6
config ?: any ;
7
- onClick ?: ( data : any ) => any ;
8
- onBeforeHover ?: ( data : any ) => any ;
9
- onHover ?: ( data : any ) => any ;
10
- onUnHover ?: ( data : any ) => any ;
11
- onSelected ?: ( data : any ) => any ;
7
+ onClick ?: ( data : {
8
+ points : any ;
9
+ event : any ;
10
+ } ) => any ;
11
+ onBeforeHover ?: ( data : {
12
+ points : any ;
13
+ event : any ;
14
+ } ) => any ;
15
+ onHover ?: ( data : {
16
+ points : any ;
17
+ event : any ;
18
+ } ) => any ;
19
+ onUnHover ?: ( data : {
20
+ points : any ;
21
+ event : any ;
22
+ } ) => any ;
23
+ onSelected ?: ( data : {
24
+ points : any ;
25
+ event : any ;
26
+ } ) => any ;
12
27
}
13
28
/***
14
29
* Usage:
Original file line number Diff line number Diff line change 1
1
{
2
2
"name" : " react-plotlyjs-ts" ,
3
- "version" : " 1.0.2 " ,
3
+ "version" : " 1.0.3 " ,
4
4
"description" : " Typescript-React component for Plotly.js" ,
5
5
"main" : " dist/index.js" ,
6
6
"types" : " dist/index.d.ts" ,
You can’t perform that action at this time.
0 commit comments