UNPKG

react-native-chart-kit

Version:

Beautiful React Native charts for dashboards, reports, and data-rich mobile apps.

22 lines 687 B
import React from "react"; import { ViewStyle } from "react-native"; import AbstractChart, { AbstractChartProps } from "../../shared/AbstractChart"; export interface PieChartProps extends AbstractChartProps { data: Array<any>; width: number; height: number; accessor: string; backgroundColor: string; paddingLeft: string; center?: Array<number>; absolute?: boolean; hasLegend?: boolean; style?: Partial<ViewStyle>; avoidFalseZero?: boolean; } type PieChartState = {}; declare class PieChart extends AbstractChart<PieChartProps, PieChartState> { render(): React.JSX.Element; } export default PieChart; //# sourceMappingURL=PieChart.d.ts.map