Просмотр исходного кода

Add missing colors prop in Pie Chart index.d.ts

the property colors?: string[] was missing in the typescript definitions
rohrbachan 7 лет назад
Родитель
Сommit
ca48ba14ed
1 измененных файлов с 1 добавлено и 0 удалено
  1. 1 0
      src/components/Charts/Pie/index.d.ts

+ 1 - 0
src/components/Charts/Pie/index.d.ts

@@ -2,6 +2,7 @@ import * as React from 'react';
 export interface IPieProps {
   animate?: boolean;
   color?: string;
+  colors?: string[];
   height: number;
   hasLegend?: boolean;
   padding?: [number, number, number, number];