Skip to content

Commit c8849cb

Browse files
HoFa1997ZeeshanTamboli
authored andcommitted
[docs][material-ui][Autocomplete] Add instructions about autosuggest-highlight dependency (#42837)
Co-authored-by: ZeeshanTamboli <[email protected]>
1 parent 56ddd10 commit c8849cb

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/data/material/components/autocomplete/autocomplete.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -210,6 +210,10 @@ overriding the `filterOptions` prop:
210210
A customized UI for Google Maps Places Autocomplete.
211211
For this demo, we need to load the [Google Maps JavaScript](https://developers.google.com/maps/documentation/javascript/overview) and [Google Places](https://developers.google.com/maps/documentation/places/web-service/overview) API.
212212

213+
:::info
214+
The following demo relies on [autosuggest-highlight](https://github.com/moroshko/autosuggest-highlight), a small (1 kB) utility for highlighting text in autosuggest and autocomplete components.
215+
:::
216+
213217
{{"demo": "GoogleMaps.js"}}
214218

215219
:::error

0 commit comments

Comments
 (0)