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