UNPKG

recharts

Version:
18 lines (17 loc) • 790 B
import * as React from 'react'; import { RadialBarDataItem, RadialBarProps } from '../polar/RadialBar'; import { ShapeAnimationProps } from './types'; export declare const defaultRadialBarShape: (props: import("..").SectorProps) => React.JSX.Element; export declare function parseCornerRadius(cornerRadius: string | number | undefined): number | undefined; /** * @public */ export interface RadialBarSectorProps extends RadialBarDataItem, ShapeAnimationProps { index: number; isActive: boolean; } type RadialBarSectorComponentProps = RadialBarSectorProps & { option: Exclude<RadialBarProps['shape'], undefined> | RadialBarProps['activeShape']; }; export declare function RadialBarSector({ option, ...shapeProps }: RadialBarSectorComponentProps): React.JSX.Element; export {};