View as Markdown

API reference: @salmonui/dropdowns/mention

MentionSearchOperatortype

import type { MentionSearchOperator } from '@salmonui/dropdowns/mention';
type MentionSearchOperator<T> = SearchOperator<T>;

'startsWith' | 'contains' | 'endsWith' or a predicate; Mention defaults to 'contains'.