Merge pull request #19807 from li-xinyang/patch-1

Add missing Data attribute for Treemap component
This commit is contained in:
Benjamin Lichtman
2017-09-20 09:09:20 -07:00
committed by GitHub
+3 -2
View File
@@ -702,8 +702,9 @@ export interface TooltipProps {
export class Tooltip extends React.Component<TooltipProps> { }
export interface TreemapProps {
width: number;
height: number;
data: any[];
width?: number;
height?: number;
dataKey?: string;
aspectRatio: number;
isAnimationActive?: boolean;