@tripian/react 6.0.2 → 6.0.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/GoogleMaps/GRoute/GRouteCalculate.d.ts +1 -1
- package/components/GoogleMaps/GRoute/GRouteRender.d.ts +2 -2
- package/components/GoogleMaps/GRoute/IRouteResult.d.ts +2 -2
- package/components/ResetPasswordEmail/ResetPasswordEmail.d.ts +0 -1
- package/index.js +2208 -2095
- package/index.js.map +1 -1
- package/min.css +1 -1
- package/package.json +1 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { IMergedDirections } from './IRouteResult';
|
|
2
|
-
declare const mergeDirections: (directionsWalking
|
|
2
|
+
declare const mergeDirections: (directionsWalking?: google.maps.DirectionsResult, directionsDriving?: google.maps.DirectionsResult, directionsCycling?: google.maps.DirectionsResult) => IMergedDirections | undefined;
|
|
3
3
|
export default mergeDirections;
|
|
@@ -3,8 +3,8 @@
|
|
|
3
3
|
import React from 'react';
|
|
4
4
|
interface IGRouteRender {
|
|
5
5
|
directions?: {
|
|
6
|
-
walking
|
|
7
|
-
driving
|
|
6
|
+
walking?: google.maps.DirectionsResult;
|
|
7
|
+
driving?: google.maps.DirectionsResult;
|
|
8
8
|
cycling?: google.maps.DirectionsResult;
|
|
9
9
|
};
|
|
10
10
|
}
|
|
@@ -19,8 +19,8 @@ export interface ILeg {
|
|
|
19
19
|
};
|
|
20
20
|
}
|
|
21
21
|
export interface IMergedDirections {
|
|
22
|
-
walking
|
|
23
|
-
driving
|
|
22
|
+
walking?: google.maps.DirectionsResult;
|
|
23
|
+
driving?: google.maps.DirectionsResult;
|
|
24
24
|
cycling?: google.maps.DirectionsResult;
|
|
25
25
|
legs: ILeg[];
|
|
26
26
|
}
|