瀏覽代碼

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

the property colors?: string[] was missing in the typescript definitions
rohrbachan 8 年之前
父節點
當前提交
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];