# MentionRenderItemContext (@salmonui/dropdowns/mention)

> The MentionRenderItemContext interface of @salmonui/dropdowns/mention.

Canonical: https://salmonui.dev/docs/reference/dropdowns/mention/MentionRenderItemContext

```ts
import type { MentionRenderItemContext } from '@salmonui/dropdowns/mention';
```

Entry index: https://salmonui.dev/docs/reference/dropdowns/mention (Markdown with every symbol of the entry: https://salmonui.dev/docs/reference/dropdowns/mention.md).

## Reference

Kind: interface

```ts
interface MentionRenderItemContext<T = MentionItem> {
    readonly item: T;
    readonly label: string;
    readonly active: boolean;
    readonly disabled: boolean;
    readonly matches: readonly [
        number,
        number
    ] | null;
    readonly trigger: string;
}
```

Members (6):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `item` | `readonly item: T;` |  |  |
| `label` | `readonly label: string;` |  |  |
| `active` | `readonly active: boolean;` |  |  |
| `disabled` | `readonly disabled: boolean;` |  |  |
| `matches` | `readonly matches: readonly [     number,     number ] \| null;` |  | Matched range of `label` when `highlightMatches` is on, else null. |
| `trigger` | `readonly trigger: string;` |  |  |
