Browse Source

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

the property colors?: string[] was missing in the typescript definitions
pull/2021/head
rohrbachan 8 years ago
committed by 偏右
parent
commit
ca48ba14ed
  1. 1
      src/components/Charts/Pie/index.d.ts

1
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];

Loading…
Cancel
Save