oneframe-react
Version:
Oneframe React ## Components, Hooks, Helper Functions & State Management
22 lines (21 loc) • 558 B
TypeScript
/// <reference types="googlemaps" />
import React from 'react';
interface IProps {
distance?: (e: any) => void;
duration?: (e: any) => void;
steps?: (e: any) => void;
start: IPosition;
end: IPosition;
map?: google.maps.Map;
clickable?: boolean;
markerAnimation?: boolean;
borderSize?: number;
borderColor?: string;
borderOpacity?: number;
}
interface IPosition {
lat: number;
lng: number;
}
declare const _default: React.MemoExoticComponent<({ ...props }: IProps) => JSX.Element>;
export default _default;