UNPKG

react-native-leader-line

Version:

React Native port of leader-line library for drawing arrow lines and connectors

32 lines 1.13 kB
import { LeaderLineProps } from "../types"; export declare const useLeaderLineManager: (options?: any) => { lines: any[]; isInitialized: boolean; createLine: (id: string, props?: Partial<LeaderLineProps>) => string; addLine: (id: string, props?: Partial<LeaderLineProps>) => string; updateLine: (id: string, props: Partial<LeaderLineProps>) => void; updateMultipleLines: (updates: Array<{ id: string; props: Partial<LeaderLineProps>; }>) => void; removeLine: (id: string) => void; removeAllLines: () => void; getLineIds: () => string[]; showLine: (id: string) => void; hideLine: (id: string) => void; refreshAll: () => void; clear: () => void; clearAll: () => void; getLine: (id: string) => any; hasLine: (id: string) => boolean; LeaderLineContainer: ({ containerRef }: { containerRef?: any; }) => any; getPerformanceMetrics: () => { totalLines: number; queuedUpdates: number; lastUpdateTime: number; }; }; export default useLeaderLineManager; //# sourceMappingURL=useLeaderLineManager.d.ts.map