UNPKG

@dylmye/mui-google-places-autocomplete

Version:

Google places autocomplete input for MUI library in React.

5 lines (4 loc) 477 B
import type { GooglePlacesAutocompleteFieldProps } from "./types"; /** The Google Places Autocomplete component you know and love, but connected up to Formik. The field value will be the string of the selected item. */ declare const GooglePlacesAutocompleteField: ({ field, form: { setFieldValue, isSubmitting }, ...autoCompleteProps }: Omit<GooglePlacesAutocompleteFieldProps, "inputValue" | "setInputValue">) => JSX.Element; export default GooglePlacesAutocompleteField;