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