Change Wrong ContentRenderer Type (#31403)

This commit is contained in:
Nathan Shively-Sanders
2018-12-20 16:19:02 -08:00
committed by GitHub

View File

@@ -867,7 +867,7 @@ export interface LabelListProps {
children?: React.ReactNode[] | React.ReactNode;
className?: string;
clockWise?: boolean;
content?: React.ReactElement<any> | ContentRenderer<Label>;
content?: React.ReactElement<any> | ContentRenderer<LabelProps>;
data?: number;
dataKey: string | number | RechartsFunction;
formatter?: LabelFormatter;