@mui/x-charts
Version:
The community edition of MUI X Charts components.
32 lines • 1.04 kB
text/typescript
import * as React from 'react';
import { type SeriesId } from "../models/index.mjs";
import { type PieClasses } from "./pieClasses.mjs";
interface PieArcLabelOwnerState {
seriesId: SeriesId;
color: string;
isFaded: boolean;
isHighlighted: boolean;
skipAnimation: boolean;
classes?: Partial<PieClasses>;
}
export type PieArcLabelProps = PieArcLabelOwnerState & Omit<React.SVGProps<SVGTextElement>, 'ref' | 'color'> & {
startAngle: number;
endAngle: number;
arcLabelRadius: number;
cornerRadius: number;
paddingAngle: number;
skipAnimation: boolean;
formattedArcLabel?: string | null;
hidden?: boolean;
};
declare const PieArcLabel: React.ForwardRefExoticComponent<PieArcLabelOwnerState & Omit<React.SVGProps<SVGTextElement>, "color" | "ref"> & {
startAngle: number;
endAngle: number;
arcLabelRadius: number;
cornerRadius: number;
paddingAngle: number;
skipAnimation: boolean;
formattedArcLabel?: string | null;
hidden?: boolean;
} & React.RefAttributes<SVGTextElement>>;
export { PieArcLabel };