UNPKG

@cometchat/chat-uikit-react-native

Version:

Ready-to-use Chat UI Components for React Native

46 lines 855 B
export class SuggestionItem { /** * Unique identifier of item */ id; /** * Name to be displayed in the list */ name; /** * Avatar Icon Url */ leadingIconUrl; /** * Hide leading icon * @default true */ hideLeadingIcon = true; /** * Presence Indicator */ status; /** * Name to be displayed in the composer */ promptText; /** * underlying text * @example <@uid:superhero1> */ underlyingText; /** * set a tracking character. * @description string length has be 1. * @example '@' | '#' etc. */ trackingCharacter; /** * extra data to be passed in JSON format */ data; constructor(props) { Object.assign(this, props); } } //# sourceMappingURL=SuggestionItem.js.map