connector.d.ts 531 B

1234567891011
  1. import type { PathArray } from '@antv/util';
  2. import { PathStyleProps } from '@antv/g';
  3. import { ShapeComponent as SC, WithPrefix } from '../../runtime';
  4. export type ConnectorOptions = ConnectorPathStyleProps & Record<string, any>;
  5. type MarkerStyleProps<P extends string> = WithPrefix<Record<string, any>, P>;
  6. type ConnectorPathStyleProps = Omit<PathStyleProps, 'path'> & MarkerStyleProps<'endMarker'> & {
  7. connectorPath?: PathArray[];
  8. endMarker?: boolean;
  9. };
  10. export declare const Connector: SC<ConnectorOptions>;
  11. export {};