react-native-leader-line
Version:
React Native port of leader-line library for drawing arrow lines and connectors
23 lines • 2.47 kB
TypeScript
export { LeaderLine } from "./components/LeaderLine";
export { LeaderLineClass } from "./components/LeaderLineClass";
export { default as MemoizedLabel } from "./components/MemoizedLabel";
export { default as MemoizedPath } from "./components/MemoizedPath";
export { LeaderLineImperative, createLeaderLine as createImperativeLeaderLine, LEADER_LINE_VERSION } from "./components/LeaderLineImperative";
export { useAttachment } from "./hooks/useAttachment";
export { useLeaderLine } from "./hooks/useLeaderLine";
export { useLeaderLineAnimation } from "./hooks/useLeaderLineAnimation";
export { useLeaderLineManager } from "./hooks/useLeaderLineManager";
export { useMultipleLabels } from "./hooks/useMultipleLabels";
export { useImperativeLeaderLine, useLeaderLineCompatibility } from "./hooks/useImperativeLeaderLine";
export { areaAnchor, calculateConnectionPoints, calculatePathBoundingBox, calculatePathBoundingBoxWithOutline, createEnhancedPlugPath, createPlugPath, generateDashArray, generateEnhancedPathData, generatePathData, getAngle, getDistance, getSocketPoint, mouseHoverAnchor, normalizeOutlineOptions, normalizePlugOutlineOptions, pointAnchor, } from "./utils/math";
export type { AnimationOptions, AnimationType, AreaAnchor, Attachment, AttachmentState, BoundingBox, DashOptions, DropShadowOptions, ElementLayout, EnhancedAttachmentType, EnhancedDropShadowOptions, EnhancedLabelOptions, EnhancedLeaderLineOptions, LabelOptions, LeaderLineOptions, LeaderLineProps, MouseHoverAnchor, MultipleLabels, OutlineOptions, PathConfiguration, PathType, PlugOutlineOptions, PlugType, Point, PointAnchor, SocketGravityOptions, SocketPosition, TimingFunction, UseAttachmentResult, UseLeaderLineResult, } from "./types";
export type { ImperativeLeaderLineOptions, } from "./components/LeaderLineImperative";
export type { ImperativeLineInstance, UseImperativeLeaderLineReturn, } from "./hooks/useImperativeLeaderLine";
export type { MemoizedLabelProps } from "./components/MemoizedLabel";
export type { MemoizedPathProps } from "./components/MemoizedPath";
import { LeaderLineClass } from "./components/LeaderLineClass";
import type { LeaderLineOptions } from "./types";
export declare const createLeaderLine: (start: any, end: any, options?: Partial<LeaderLineOptions>) => LeaderLineClass;
export { LeaderLine as default } from "./components/LeaderLine";
export { LIBRARY_VERSION, VERSION_NOTES, BUILD_TIMESTAMP } from "./version";
//# sourceMappingURL=index.d.ts.map