index.d.ts
467 Bytes
import * as React from "react";
export interface PieProps {
animate?: boolean;
color?: string;
height: number;
hasLegend?: boolean;
margin?: [number, number, number, number];
percent?: number;
data?: Array<{
x: string;
y: number;
}>;
total?: string;
title?: React.ReactNode;
tooltip?: boolean;
valueFormat?: (value: string) => string;
subTitle?: React.ReactNode;
}
export default class Pie extends React.Component<PieProps, any> {}