Change width and height property optional for TreeMap component

This commit is contained in:
Xinyang Li
2017-09-18 16:29:46 +08:00
committed by GitHub
parent 755d4941fc
commit a1f93df20e
+2 -2
View File
@@ -700,8 +700,8 @@ export class Tooltip extends React.Component<TooltipProps> { }
export interface TreemapProps {
data: any[];
width: number;
height: number;
width?: number;
height?: number;
dataKey?: string;
aspectRatio: number;
isAnimationActive?: boolean;