victory-native
Version:
A charting library for React Native with a focus on performance and customization.
7 lines (6 loc) • 400 B
TypeScript
import { type RoundedCorners } from "../../utils/createRoundedRectPath";
import type { ChartBounds, PointsArray } from "../../types";
export declare const useBarPath: (points: PointsArray, chartBounds: ChartBounds, innerPadding?: number, roundedCorners?: RoundedCorners, customBarWidth?: number, barCount?: number) => {
path: import("@shopify/react-native-skia").SkPath;
barWidth: number;
};