<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [SearchMutations](./x-components.searchmutations.md) &gt; [setBanners](./x-components.searchmutations.setbanners.md)

## SearchMutations.setBanners() method

Sets the banners of the module.

**Signature:**

```typescript
setBanners(banners: Banner[]): void;
```

## Parameters

|  Parameter | Type | Description |
|  --- | --- | --- |
|  banners | Banner\[\] | The new banners to save to the state. |

**Returns:**

void

