victory-native
Version:
[](https://commerce.nearform.com/open-source/victory-native/)
13 lines (12 loc) • 468 B
TypeScript
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 {};