@empathyco/x-components
Version:
Empathy X Components
25 lines (14 loc) • 574 B
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [UrlMutations](./x-components.urlmutations.md) > [setPrompt](./x-components.urlmutations.setprompt.md)
## UrlMutations.setPrompt() method
Sets the related prompt.
**Signature:**
```typescript
setPrompt(prompt: number): void;
```
## Parameters
| Parameter | Type | Description |
| --- | --- | --- |
| prompt | number | The new related prompt index of the URL. |
**Returns:**
void