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/)

13 lines (12 loc) 468 B
import type { ChartBounds, PointsArray } from "../../types"; import type { RoundedCorners } from "../../utils/createRoundedRectPath"; type Props = { points: PointsArray | PointsArray[]; chartBounds: ChartBounds; innerPadding: number; roundedCorners?: RoundedCorners; customBarWidth?: number; barCount?: number; }; export declare const useBarWidth: ({ customBarWidth, chartBounds, innerPadding, barCount, points, }: Props) => number; export {};