mirror of
https://github.com/gosticks/DefinitelyTyped.git
synced 2026-10-04 14:57:10 +00:00
fix(@types/recharts): Add background property
Adding background property to Bar Props
This commit is contained in:
Vendored
+1
@@ -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>;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user