Module: LocationAutocomplete
Interfaces
Functions
LocationAutocomplete
▸ LocationAutocomplete(inProps
): JSX.Element
API documentation for the Community-JS Location Autocomplete component. Learn about the available props and the CSS API.
This component renders a bar that allows users to search (with autocomplete) for cities names. Take a look at our demo component here
Import
import {LocationAutocomplete} from '@selfcommunity/react-ui';
Component Name
The name SCLocationAutocomplete
can be used when providing style overrides in the theme.
CSS
Rule Name | Global class | Description |
---|---|---|
root | .SCLocationAutocomplete-root | Styles applied to the root element. |
Parameters
Name | Type |
---|---|
inProps | LocationAutocompleteProps |
Returns
JSX.Element
Defined in
packages/react-ui/src/components/LocationAutocomplete/LocationAutocomplete.tsx:83