fix(@types/recharts): Add background property

Adding background property to Bar Props
This commit is contained in:
Wesley Abbey
2019-01-16 17:24:10 -05:00
committed by GitHub
parent 77eb217d93
commit d8216afd92
+1
View File
@@ -214,6 +214,7 @@ export interface BarProps extends EventAttributes, Partial<PresentationAttribute
hide?: boolean;
shape?: React.ReactElement<any> | ContentRenderer<RectangleProps>;
data?: BarData[];
background?: boolean | React.ReactElement<any> | ContentRenderer<any> | object;
// see label section at http://recharts.org/#/en-US/api/Bar
label?: boolean | Label | React.SFC<LabelProps> | React.ReactElement<LabelProps> | ContentRenderer<any>;
}