UNPKG

@visx/shape

Version:
12 lines 761 B
import type { SharedLinkProps, AccessorProps, AddSVGProps } from '../../../types'; export declare function pathHorizontalStep<Link, Node>({ source, target, x, y, percent, }: Required<AccessorProps<Link, Node>> & { percent: number; }): (link: Link) => string; type LinkHorizontalStepProps<Link, Node> = { percent?: number; } & AccessorProps<Link, Node> & SharedLinkProps<Link>; export default function LinkHorizontalStep<Link, Node>({ className, innerRef, data, path, percent, x, // note this returns a y value y, // note this returns a x value source, target, children, ...restProps }: AddSVGProps<LinkHorizontalStepProps<Link, Node>, SVGPathElement>): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=LinkHorizontalStep.d.ts.map