Explorar el Código

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

the property colors?: string[] was missing in the typescript definitions
rohrbachan hace 7 años
padre
commit
ca48ba14ed
Se han modificado 1 ficheros con 1 adiciones y 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];