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) 563 B
import React from "react"; import { type Color, type SkFont } from "@shopify/react-native-skia"; import type { ChartBounds, PointsArray } from "../../types"; export type BarLabelConfig = { position: "top" | "bottom" | "left" | "right"; font: SkFont | null; color?: Color; }; type BarGraphLabelProps = { points: PointsArray; chartBounds: ChartBounds; barWidth?: number; options: BarLabelConfig; }; export declare const BarGraphLabels: ({ points, chartBounds, barWidth, options, }: BarGraphLabelProps) => React.JSX.Element[]; export {};