@figliolia/rn-donut-chart
Version:
An animated donut/pie chart library
13 lines (12 loc) • 552 B
TypeScript
import type { RenderPhase } from "../types";
import { Interpolation } from "./Interpolation";
import type { SectionProps } from "./types";
export declare class Controller {
static readonly opacityInterpolation: Interpolation<0 | 1>;
static stateFrom(props: SectionProps): {
drawInterpolation: Interpolation<number>;
rotateInterpolation: Interpolation<string>;
};
static strokeDashoffset(props: SectionProps): number;
static rotationInterpolation(rotation: number, renderPhase: RenderPhase): Interpolation<string>;
}