Skip to main content

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 NameGlobal classDescription
root.SCLocationAutocomplete-rootStyles applied to the root element.

Parameters

NameType
inPropsLocationAutocompleteProps

Returns

JSX.Element

Defined in

packages/react-ui/src/components/LocationAutocomplete/LocationAutocomplete.tsx:83