We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7311672 commit 366765bCopy full SHA for 366765b
src/index.d.ts
@@ -1,10 +1,11 @@
1
import { HTMLProps } from 'react'
2
+import { ChartDataSets, ChartOptions } from 'chart.js'
3
4
interface Charts extends HTMLProps<any> {
5
innerRef?: any
- datasets?: Array<any>
6
+ datasets?: ChartDataSets[]
7
labels?: string | Array<any>
- options?: any
8
+ options?: ChartOptions
9
plugins?: Array<any>
10
}
11
@@ -27,4 +28,4 @@ export declare const CChartLine: (props: CChartLine) => any
27
28
export declare const CChartDoughnut: (props: CChartDoughnut) => any
29
export declare const CChartRadar: (props: CChartRadar) => any
30
export declare const CChartPie: (props: CChartPie) => any
-export declare const CChartPolarArea: (props: CChartPolarArea) => any
31
+export declare const CChartPolarArea: (props: CChartPolarArea) => any
0 commit comments