Explorar o código

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

the property colors?: string[] was missing in the typescript definitions
rohrbachan %!s(int64=7) %!d(string=hai) anos
pai
achega
ca48ba14ed
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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 {
 export interface IPieProps {
   animate?: boolean;
   animate?: boolean;
   color?: string;
   color?: string;
+  colors?: string[];
   height: number;
   height: number;
   hasLegend?: boolean;
   hasLegend?: boolean;
   padding?: [number, number, number, number];
   padding?: [number, number, number, number];