UNPKG

victory-native

Version:

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

17 lines (16 loc) 584 B
import { type Color, type SkFont } from "@shopify/react-native-skia"; import React, { type ReactNode } from "react"; type LabelPosition = { x: number; y: number; midAngle: number; }; export type PieLabelProps = { font?: SkFont | null; radiusOffset?: number; color?: Color; text?: string; children?: (position: LabelPosition) => ReactNode; }; declare const PieLabel: ({ font, radiusOffset, color, text, children, }: PieLabelProps) => string | number | boolean | Iterable<React.ReactNode> | React.JSX.Element | null | undefined; export default PieLabel;