@carbon/charts-react
Version:
Carbon Charts component library for React
18 lines (17 loc) • 484 B
TypeScript
import { default as React } from 'react';
type Coordinates = {
x: number;
y: number;
};
type EdgeProps = {
color?: string;
markerStart?: string;
markerEnd?: string;
source?: Coordinates;
target?: Coordinates;
path?: string;
variant?: string;
};
type EdgeSVGProps = Pick<React.SVGProps<SVGGElement>, Exclude<keyof React.SVGProps<SVGGElement>, 'target'>>;
declare const Edge: React.FC<EdgeProps & EdgeSVGProps>;
export default Edge;