@mui/x-charts
Version:
The community edition of MUI X Charts components.
39 lines • 1.32 kB
TypeScript
import * as React from 'react';
import { type PieArcOwnerState } from "./pieClasses.js";
export type PieArcProps = Omit<React.SVGProps<SVGPathElement>, 'ref'> & PieArcOwnerState & {
cornerRadius: number;
endAngle: number;
innerRadius: number;
onClick?: (event: React.MouseEvent<SVGPathElement, MouseEvent>) => void;
outerRadius: number;
paddingAngle: number;
startAngle: number;
/**
* If `true`, the animation is disabled.
*/
skipAnimation?: boolean;
/**
* If `true`, the default event handlers are disabled.
* Those are used, for example, to display a tooltip or highlight the arc on hover.
*/
skipInteraction?: boolean;
};
declare const PieArc: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGPathElement>, "ref"> & PieArcOwnerState & {
cornerRadius: number;
endAngle: number;
innerRadius: number;
onClick?: (event: React.MouseEvent<SVGPathElement, MouseEvent>) => void;
outerRadius: number;
paddingAngle: number;
startAngle: number;
/**
* If `true`, the animation is disabled.
*/
skipAnimation?: boolean;
/**
* If `true`, the default event handlers are disabled.
* Those are used, for example, to display a tooltip or highlight the arc on hover.
*/
skipInteraction?: boolean;
} & React.RefAttributes<SVGPathElement>>;
export { PieArc };