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
14 lines (13 loc) • 458 B
TypeScript
/// <reference types="react" />
import { CometChat } from '@cometchat-pro/react-native-chat';
import { FontStyleInterface, ImageType } from '../base';
export type CometChatMessageOption = {
id: string;
title: string;
icon?: ImageType;
packageName?: string;
iconTint?: string;
titleStyle?: FontStyleInterface;
CustomView?: (message: CometChat.BaseMessage) => JSX.Element;
onPress?: (message: CometChat.BaseMessage) => void;
};