UNPKG

@mui/x-charts

Version:

The community edition of MUI X Charts components.

19 lines 818 B
import * as React from 'react'; interface UseAnimateGaugeValueArcParams { ref?: React.Ref<SVGPathElement>; startAngle: number; endAngle: number; cornerRadius: number; innerRadius: number; outerRadius: number; skipAnimation: boolean; } type UseAnimateGaugeValueArcReturnValue = { ref: React.Ref<SVGPathElement>; d: string; }; /** Animates a arc of a gauge chart by increasing the `endAngle` from the start angle to the end angle. * The props object also accepts a `ref` which will be merged with the ref returned from this hook. This means you can * pass the ref returned by this hook to the `path` element and the `ref` provided as argument will also be called. */ export declare function useAnimateGaugeValueArc(props: UseAnimateGaugeValueArcParams): UseAnimateGaugeValueArcReturnValue; export {};