UNPKG

recharts

Version:
30 lines (29 loc) 1.02 kB
import * as React from 'react'; import { PolarChartProps } from '../util/types'; export declare const defaultPieChartProps: { readonly layout: "centric"; readonly startAngle: 0; readonly endAngle: 360; readonly throttleDelay: number | "raf"; readonly throttledEvents: ReadonlyArray<keyof GlobalEventHandlersEventMap> | "all"; readonly accessibilityLayer: true; readonly stackOffset: "none"; readonly barCategoryGap: "10%"; readonly barGap: 4; readonly margin: import("../util/types").Margin; readonly reverseStackOrder: false; readonly syncMethod: "index"; readonly responsive: false; readonly cx: "50%"; readonly cy: "50%"; readonly innerRadius: 0; readonly outerRadius: "80%"; }; /** * @consumes ResponsiveContainerContext * @provides PolarViewBoxContext * @provides PolarChartContext */ export declare const PieChart: <DataPointType = any>(props: PolarChartProps<DataPointType> & { ref?: React.Ref<SVGSVGElement>; }) => React.ReactElement;