Преглед изворни кода

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

the property colors?: string[] was missing in the typescript definitions
rohrbachan пре 7 година
родитељ
комит
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];