<!-- Do not edit this file. It is automatically generated by API Documenter. -->

[Home](./index.md) &gt; [@empathyco/x-components](./x-components.md) &gt; [UseAliasAPI](./x-components.usealiasapi.md) &gt; [selectedPrompt](./x-components.usealiasapi.selectedprompt.md)

## UseAliasAPI.selectedPrompt property

The [RelatedPromptsXModule](./x-components.relatedpromptsxmodule.md) selected prompt.

**Signature:**

```typescript
readonly selectedPrompt: number;
```
