# MentionDataSource (@salmonui/dropdowns/mention)

> The MentionDataSource type of @salmonui/dropdowns/mention: Remote suggestions: any @salmonui/data source (or another object with the structural read() of the Data Grid data source contract). The search text is sent as query.search, the result window as range.

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

```ts
import type { MentionDataSource } 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: type

```ts
type MentionDataSource<T> = Pick<DataSource<T>, 'read'>;
```

Remote suggestions: any `@salmonui/data` source (or another object with the
structural `read()` of the Data Grid data source contract). The search
text is sent as `query.search`, the result window as `range`.

Members (1):

| Name | Signature | Flags | Description |
| --- | --- | --- | --- |
| `read` | `read: (request: DataSourceRequest) => DataSourceResult<T> \| Promise<DataSourceResult<T>>;` | inherited |  |
