UNPKG

@empathyco/x-components

Version:
23 lines (14 loc) 1.07 kB
--- title: RelatedPrompt --- # RelatedPrompt This component shows a suggested related prompt. ## Props | Name | Description | Type | Default | | -------------------------- | -------------------------------------------- | -------------------------- | ------------------ | | <code>relatedPrompt</code> | The related prompt to render. | <code>RelatedPrompt</code> | <code></code> | | <code>selected</code> | Indicates if the related prompt is selected. | <code>boolean</code> | <code>false</code> | ## Slots | Name | Description | Bindings<br />(name - type - description) | | ----------------------------------------- | ---------------------------------------------------- | ----------------------------------------- | | <code>related-prompt-extra-content</code> | The slot to render related prompt extra information. | |