@empathyco/x-components
Version:
Empathy X Components
26 lines (17 loc) • 1.37 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-components](./x-components.md) > [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<unknown> | 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. |
| [relatedTags](./x-components.relatedpromptsstate.relatedtags.md) | | RelatedTag\[\] | The list of the related tags, 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. |