Merge pull request #32230 from wesleyabbey/patch-1

fix(@types/recharts): Add background property
This commit is contained in:
Ron Buckton
2019-01-17 13:03:27 -08:00
committed by GitHub
+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>;
}