Skip to content

Commit c4adc01

Browse files
rlisagorjerairrest
authored andcommitted
Added missing ChartComponent prop types (#281)
1 parent c96d940 commit c4adc01

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

index.d.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,8 +23,10 @@ export interface ChartComponentProps {
2323
legend?: chartjs.ChartLegendOptions;
2424
onElementsClick?(e: any): void; // alias for getElementsAtEvent (backward compatibility)
2525
options?: chartjs.ChartOptions;
26+
plugins?: object[];
2627
redraw?: boolean;
2728
width?: number;
29+
datasetKeyProvider: (any) => any;
2830
}
2931

3032
export interface LinearComponentProps extends ChartComponentProps {

0 commit comments

Comments
 (0)