UNPKG

653 BTypeScriptView Raw
1/// <reference types="react" />
2import { ViewStyle } from "react-native";
3import AbstractChart, { AbstractChartProps } from "./AbstractChart";
4export interface PieChartProps extends AbstractChartProps {
5 data: Array<any>;
6 width: number;
7 height: number;
8 accessor: string;
9 backgroundColor: string;
10 paddingLeft: string;
11 center?: Array<number>;
12 absolute?: boolean;
13 hasLegend?: boolean;
14 style?: Partial<ViewStyle>;
15}
16declare type PieChartState = {};
17declare class PieChart extends AbstractChart<PieChartProps, PieChartState> {
18 render(): JSX.Element;
19}
20export default PieChart;
21//# sourceMappingURL=PieChart.d.ts.map
\No newline at end of file