@empathyco/x-components
Version:
Empathy X Components
25 lines (16 loc) • 1.08 kB
Markdown
<!-- Do not edit this file. It is automatically generated by API Documenter. -->
[Home](./index.md) > [@empathyco/x-types](./x-types.md) > [Promoted](./x-types.promoted.md)
## Promoted interface
A promoted is an image with a title, that when clicked redirect the user to an URL. Often it is represented taking up the same space than a normal result.
**Signature:**
```typescript
export interface Promoted extends NamedModel<'Promoted'>, Identifiable, Taggable
```
**Extends:** [NamedModel](./x-types.namedmodel.md)<!-- --><'Promoted'>, [Identifiable](./x-types.identifiable.md)<!-- -->, [Taggable](./x-types.taggable.md)
## Properties
| Property | Modifiers | Type | Description |
| --- | --- | --- | --- |
| [image](./x-types.promoted.image.md) | | string | Promoted image. |
| [position?](./x-types.promoted.position.md) | | number | _(Optional)_ Promoted position inside the grid. |
| [title](./x-types.promoted.title.md) | | string | Promoted title. |
| [url](./x-types.promoted.url.md) | | string | URL to redirect. |