import { Channel, AutoCompleteSuggestionList } from 'stream-chat-react-native';
const AutoCompleteSuggestionListComponent = () => <AutoCompleteSuggestionList />
<Channel AutoCompleteSuggestionList={AutoCompleteSuggestionListComponent} />
This is documentation for the release candidate
Stream Chat React Native SDK v8. For the latest stable version, see the latest version (v7).
AutoCompleteSuggestionList
Component to render and customize the auto suggestion list.
General Usage
You can customize the AutoCompleteSuggestionList
component and provide it back to the SDK via the AutoCompleteSuggestionList
prop on Channel
if desired.
For more details about its usage refer Customizing autocomplete suggestions
Props
AutoCompleteSuggestionHeader
Component to render the autocomplete suggestion header.
Type | Default |
---|---|
ComponentType | AutoCompleteSuggestionHeader |
AutoCompleteSuggestionItem
Component to render the autocomplete suggestion item.
Type | Default |
---|---|
ComponentType | AutoCompleteSuggestionItem |