<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [PopularSearchesMutations](./x-components.popularsearchesmutations.md) &gt; [setSuggestions](./x-components.popularsearchesmutations.setsuggestions.md)

## PopularSearchesMutations.setSuggestions() method

Sets the suggestions of the module.

**Signature:**

```typescript
setSuggestions(suggestions: Suggestion[]): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  suggestions | Suggestion\[\] | The new suggestions list. |

**Returns:**

void

