We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a4ae230 commit 001a0aaCopy full SHA for 001a0aa
package.json
@@ -29,6 +29,7 @@
29
"files": [
30
"css/",
31
"es/",
32
+ "src/index.d.ts",
33
"lib/",
34
"umd/",
35
"README.md"
src/index.d.ts
@@ -1,13 +1,15 @@
1
-interface Charts {
2
- innerRef?: any;
3
- datasets?: Array<any>;
4
- labels?: string | Array<any>;
5
- options?: any;
6
- plugins?: Array<any>;
+import { HTMLProps } from 'react'
+
+interface Charts extends HTMLProps<any> {
+ innerRef?: any
+ datasets?: Array<any>
+ labels?: string | Array<any>
7
+ options?: any
8
+ plugins?: Array<any>
9
}
10
11
interface CChart extends Charts {
- type?: string;
12
+ type?: string
13
14
15
interface CChartBar extends Charts {}
0 commit comments