@hoddy-ui/core 1.0.9 → 1.0.10

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/index.ts CHANGED
@@ -8,7 +8,6 @@ export * from "./src/Components/Checkbox";
8
8
  export * from "./src/Components/FlashMessage";
9
9
  export * from "./src/Components/Grid";
10
10
  export * from "./src/Components/Locator";
11
- export { default as Locator } from "./src/Components/Locator";
12
11
  export * from "./src/Components/Popup";
13
12
  export * from "./src/Components/SafeAreaView";
14
13
  export { default as SelectMenu } from "./src/Components/SelectMenu";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hoddy-ui/core",
3
- "version": "1.0.9",
3
+ "version": "1.0.10",
4
4
  "description": "Core rich react native components written in typescript",
5
5
  "main": "index.ts",
6
6
  "repository": {
@@ -44,7 +44,7 @@ export const getPredictionsFromCoords = async (coords: any) => {
44
44
  return p;
45
45
  };
46
46
 
47
- const Locator: React.FC<LocatorProps> = ({
47
+ export const Locator: React.FC<LocatorProps> = ({
48
48
  variant = "contained",
49
49
  onLocationSelected,
50
50
  label,
@@ -225,4 +225,3 @@ const Locator: React.FC<LocatorProps> = ({
225
225
  );
226
226
  };
227
227
 
228
- export default Locator;
@@ -2,7 +2,9 @@ type apikeys = {
2
2
  GOOGLE_MAP_API_KEY?: string;
3
3
  };
4
4
 
5
- let apiKey: apikeys;
5
+ let apiKey: apikeys = {
6
+ GOOGLE_MAP_API_KEY: "",
7
+ };
6
8
 
7
9
  export function setApiKey(key: apikeys): void {
8
10
  apiKey = key;