@fleet-frontend/mower-maps
Version:
a mower maps in google maps
33 lines • 876 B
TypeScript
import React from 'react';
import { UnitsType } from '@/utils';
interface DragState {
isDragging: boolean;
dragIndex: number;
originalPosition: number[] | null;
currentPosition: number[] | null;
newVertexIndex: number;
edgeInfo: {
startPoint: {
x: number;
y: number;
};
endPoint: {
x: number;
y: number;
};
startIndex: number;
} | null;
dragType: 'existing' | 'new' | null;
}
interface DragDistanceIndicatorProps {
fontSize?: number;
dragState: DragState;
strokeColor: string;
editMode?: boolean;
createMode?: boolean;
completed?: boolean;
unitType?: UnitsType;
}
declare const DragDistanceIndicator: React.FC<DragDistanceIndicatorProps>;
export default DragDistanceIndicator;
//# sourceMappingURL=DragDistanceIndicator.d.ts.map