UNPKG

victory-native

Version:

A charting library for React Native with a focus on performance and customization.

13 lines (12 loc) 383 B
import { type SkPoint } from "@shopify/react-native-skia"; import { type ChartCanvasSize } from "../../shared/chartCanvasSizeUtils"; export type PieLayout = { center: SkPoint; radius: number; layoutWidth: number; layoutHeight: number; }; export declare function getPieLayout({ canvasSize, size, }: { canvasSize: ChartCanvasSize; size?: number; }): PieLayout;