We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2f01580 commit 8514679Copy full SHA for 8514679
lib/index.d.ts
@@ -12,6 +12,13 @@ interface ObjectMap {
12
[key: string]: any,
13
}
14
15
+interface optsMap {
16
+ devicePixelRatio?: number,
17
+ renderer?: 'canvas' | 'svg',
18
+ width?: number | null | undefined | 'auto',
19
+ height?: number | null | undefined | 'auto',
20
+}
21
+
22
// Index
23
export interface ReactEchartsPropsTypes {
24
option: ObjectMap;
@@ -25,6 +32,7 @@ export interface ReactEchartsPropsTypes {
25
32
loadingOption?: ObjectMap;
26
33
onEvents?: EventMap;
27
34
echarts?: object;
35
+ opts?: optsMap;
28
36
29
37
30
38
export default class ReactEcharts extends React.Component<ReactEchartsPropsTypes, any>{}
0 commit comments