<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [RelatedPromptsState](./x-components.relatedpromptsstate.md)

## RelatedPromptsState interface

Related prompts module state.

**Signature:**

```typescript
export interface RelatedPromptsState extends StatusState, QueryState 
```
**Extends:** [StatusState](./x-components.statusstate.md)<!-- -->, [QueryState](./x-components.querystate.md)

## Properties

|  Property | Modifiers | Type | Description |
|  --- | --- | --- | --- |
|  [params](./x-components.relatedpromptsstate.params.md) |  | Dictionary&lt;unknown&gt; | The extra params property of the state. |
|  [relatedPrompts](./x-components.relatedpromptsstate.relatedprompts.md) |  | RelatedPrompt\[\] | The list of the related-prompts, related to the <code>query</code> property of the state. |
|  [selectedPrompt](./x-components.relatedpromptsstate.selectedprompt.md) |  | number | The index of the selected related-prompt. |
|  [selectedQuery](./x-components.relatedpromptsstate.selectedquery.md) |  | number | The index of the selected next query. |

