react-simple-arrows
Version:
react components which make it simple to draw svg arrows in a react app
11 lines (10 loc) • 384 B
TypeScript
/// <reference types="react" />
import { LineOrientation, Position } from '../constants';
export declare const ArrowSvg: ({ start, end, orientation, curviness, color, strokeWidth, }: {
start: Position;
end: Position;
orientation: LineOrientation;
curviness?: number | undefined;
color?: string | undefined;
strokeWidth?: string | undefined;
}) => JSX.Element;