@adoptaunabuelo/react-components 0.1.12 → 0.1.14

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.
@@ -1,3 +1,4 @@
1
+ /// <reference types="google.maps" />
1
2
  import { ReactElement, CSSProperties } from 'react';
2
3
  import { InputStyledProps } from './InputStyled';
3
4
  declare const Input: (props: Props) => import("react/jsx-runtime").JSX.Element;
@@ -15,4 +16,9 @@ export interface Props extends InputStyledProps {
15
16
  country?: string;
16
17
  design?: 'primary' | 'secondary';
17
18
  onPhoneChange?: (item: any) => void;
19
+ onLocationChange?: (result: {
20
+ address: string;
21
+ geocoder: google.maps.GeocoderResult;
22
+ location: google.maps.LatLngLiteral;
23
+ }) => void;
18
24
  }
@@ -4,6 +4,7 @@ declare const InputLocation: (props: Props) => import("react/jsx-runtime").JSX.E
4
4
  export default InputLocation;
5
5
  export interface Props extends InputSecondaryProps {
6
6
  onLocationChange?: (result: {
7
+ address: string;
7
8
  geocoder: google.maps.GeocoderResult;
8
9
  location: google.maps.LatLngLiteral;
9
10
  }) => void;
@@ -6,3 +6,4 @@ export { default as Button } from './Button/Button';
6
6
  export { default as Input } from './Input/Input';
7
7
  export { default as Select } from './Select/Select';
8
8
  export { default as SearchBar } from './SearchBar/SearchBar';
9
+ export { default as Modal } from './Modal/Modal';