UNPKG

victory-native

Version:

[![Victory Native](https://oss.nearform.com/api/banner?badge=victory&text=victory+native&bg=9c2f1e)](https://commerce.nearform.com/open-source/victory-native/)

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