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
21 lines (20 loc) • 659 B
TypeScript
/// <reference types="react" />
import { CometChat } from '@cometchat-pro/react-native-chat';
import { FontStyleInterface } from '../../base';
export type ImageType = string | {
uri: string;
} | number;
export interface CometChatMessageComposerActionInterface {
id?: any;
title?: string;
iconUrl?: ImageType;
iconTint?: string;
iconBackground?: string;
titleFont?: FontStyleInterface;
titleColor?: string;
titleAppearance?: any;
background?: string;
cornerRadius?: number;
CustomView?: (user: CometChat.User, group: CometChat.Group, id: string | number, props: object) => JSX.Element;
onPress?: Function;
}