UNPKG

@sendbird/uikit-react-native

Version:

Sendbird UIKit for React Native: A feature-rich and customizable chat UI kit with messaging, channel management, and user authentication.

19 lines (18 loc) 556 B
import type { SendbirdChatSDK, SendbirdGroupChannel, SendbirdUser } from '@sendbird/uikit-utils'; import type { Range } from '../types'; declare const useMentionSuggestion: (params: { text: string; selection: Range; mentionedUsers: { user: SendbirdUser; range: Range; }[]; sdk: SendbirdChatSDK; channel: SendbirdGroupChannel; }) => { members: import("@sendbird/chat/groupChannel").Member[]; reset: () => void; searchStringRange: Range; searchLimited: boolean; }; export default useMentionSuggestion;