<!-- 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) &gt; [selectedPrompt](./x-components.relatedpromptsstate.selectedprompt.md)

## RelatedPromptsState.selectedPrompt property

The index of the selected related-prompt.

**Signature:**

```typescript
selectedPrompt: number;
```
