Skip to content

Commit ed85a05

Browse files
committed
Removed enum
1 parent 9452916 commit ed85a05

File tree

1 file changed

+1
-11
lines changed

1 file changed

+1
-11
lines changed

index.d.ts

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,14 @@
11

22
import * as React from 'React';
33

4-
enum ChartType {
5-
doughnut = 'doughnut',
6-
pie = 'pie',
7-
line = 'line',
8-
bar = 'bar',
9-
horizontalBar = 'horizontalBar',
10-
radar = 'radar',
11-
polarArea = 'polarArea'
12-
}
13-
144
interface ChartComponentProps {
155
data :Object;
166
height? :number;
177
legend? :Object;
188
onElementsClick? :Function;
199
options? :Object;
2010
redraw? :boolean;
21-
type? :ChartType;
11+
type? :String;
2212
width? :number;
2313
}
2414

0 commit comments

Comments
 (0)