@empathyco/x-components
Version:
Empathy X Components
27 lines (15 loc) • 711 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [PopularSearchesActions](./x-components.popularsearchesactions.md) > [fetchSuggestions](./x-components.popularsearchesactions.fetchsuggestions.md)
## PopularSearchesActions.fetchSuggestions() method
Fetches a new set of suggestions and returns them.
**Signature:**
```typescript
fetchSuggestions(request: PopularSearchesRequest): Suggestion[];
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| request | PopularSearchesRequest | |
**Returns:**
Suggestion\[\]
The new set of suggestions.