UNPKG

@cometchat/chat-uikit-react-native

Version:

Ready-to-use Chat UI Components for React Native

44 lines (43 loc) 879 B
export declare class SuggestionItem { /** * Unique identifier of item */ id: string; /** * Name to be displayed in the list */ name?: string; /** * Avatar Icon Url */ leadingIconUrl?: string; /** * Hide leading icon * @default true */ hideLeadingIcon?: boolean; /** * Presence Indicator */ status?: "online" | "offline"; /** * Name to be displayed in the composer */ promptText?: string; /** * underlying text * @example <@uid:superhero1> */ underlyingText: string; /** * set a tracking character. * @description string length has be 1. * @example '@' | '#' etc. */ trackingCharacter?: string; /** * extra data to be passed in JSON format */ data?: JSON; constructor(props: SuggestionItem); }