@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 726 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [RelatedPromptsMutations](./x-components.relatedpromptsmutations.md) > [setRelatedPromptsProducts](./x-components.relatedpromptsmutations.setrelatedpromptsproducts.md)
## RelatedPromptsMutations.setRelatedPromptsProducts() method
Sets the related prompts of the module.
**Signature:**
```typescript
setRelatedPromptsProducts(products: RelatedPrompt[]): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| products | RelatedPrompt\[\] | The new related prompts to save to the state. |
**Returns:**
void