UNPKG

@reactodia/workspace

Version:

Reactodia Workspace -- library for visual interaction with graphs in a form of a diagram.

16 lines 806 B
import * as React from 'react'; import { LinkTemplate, LinkTemplateProps } from '../diagram/customization'; import { LinkLabelProps } from '../diagram/linkLayer'; export declare const DefaultLinkTemplate: LinkTemplate; export interface DefaultLinkProps extends LinkTemplateProps { className?: string; pathProps?: React.SVGAttributes<SVGPathElement>; primaryLabelProps?: CustomizedLinkLabelProps; propertyLabelProps?: CustomizedLinkLabelProps; propertyLabelStartLine?: number; prependLabels?: React.ReactNode; } type CustomizedLinkLabelProps = Omit<LinkLabelProps, 'primary' | 'link' | 'position' | 'line' | 'content'>; export declare function DefaultLink(props: DefaultLinkProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=defaultLinkTemplate.d.ts.map