Merge pull request #24086 from mthmulders/fix/recharts-bar-fill

[recharts] Add 'fill' prop to Bar component
This commit is contained in:
Armando Aguirre
2018-03-05 15:07:06 -08:00
committed by GitHub
+1
View File
@@ -190,6 +190,7 @@ export interface BarData {
export interface BarProps extends EventAttributes, Partial<PresentationAttributes>, Animatable {
dataKey: DataKey; // As the source code states, dataKey will replace valueKey in 1.1.0 and it'll be required (it's already required in current implementation).
className?: string;
fill?: string;
layout?: LayoutType;
xAxisId?: string | number;
yAxisId?: string | number;