UNPKG

react-native-leader-line

Version:

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

27 lines 973 B
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; showLine: (id: string) => void; hideLine: (id: string) => void; refreshAll: () => void; clear: () => void; clearAll: () => void; getLine: (id: string) => any; hasLine: (id: string) => boolean; getPerformanceMetrics: () => { totalLines: number; queuedUpdates: number; lastUpdateTime: number; }; }; export default useLeaderLineManager; //# sourceMappingURL=useLeaderLineManager.d.ts.map