react-native-chating-ui-kit
Version:
CometChat React Native UI Kit is a collection of custom UI Components designed to build text , chat and calling features in your application. The UI Kit is developed to keep developers in mind and aims to reduce development efforts significantly
23 lines (22 loc) • 731 B
TypeScript
import React from 'react';
import { FontStyleInterface } from '../../../shared/base';
import { CometChat } from '@cometchat-pro/react-native-chat';
export interface MessageReactionsInterface {
messageObject?: CometChat.BaseMessage;
loggedInUser?: CometChat.User;
updateReaction?: (messageObject: any, emoji: any) => void;
style?: {
iconTint?: string;
textFont?: FontStyleInterface;
};
onReactionClick?: (emoji: any, messageObject: any) => void;
}
declare const CometChatMessageReactions: {
(props: MessageReactionsInterface): React.JSX.Element;
defaultProps: {
messageObject: any;
loggedInUser: any;
style: {};
};
};
export { CometChatMessageReactions };