<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [TaggingMutations](./x-components.taggingmutations.md) &gt; [setConsent](./x-components.taggingmutations.setconsent.md)

## TaggingMutations.setConsent property

Sets the [TaggingState.consent](./x-components.taggingstate.consent.md) property.

**Signature:**

```typescript
setConsent: (consent: boolean) => void;
```
