victory-bar
Version:
Bar Component for Victory
20 lines • 784 B
TypeScript
import React from "react";
import { NumberOrCallback, VictoryCommonPrimitiveProps } from "victory-core";
import { VictoryBarAlignmentType, VictoryBarCornerRadiusObject } from "./victory-bar";
export interface BarProps extends VictoryCommonPrimitiveProps {
alignment?: VictoryBarAlignmentType;
barOffset?: number[];
barRatio?: number;
barWidth?: NumberOrCallback;
cornerRadius?: NumberOrCallback | VictoryBarCornerRadiusObject;
datum?: any;
getPath?: (props: BarProps) => string;
horizontal?: boolean;
pathComponent?: React.ReactElement;
width?: number;
x?: number;
y?: number;
y0?: number;
}
export declare const Bar: React.ForwardRefExoticComponent<BarProps & React.RefAttributes<SVGPathElement>>;
//# sourceMappingURL=bar.d.ts.map