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
15 lines (14 loc) • 703 B
TypeScript
import { ImageURISource } from "react-native";
import { CometChatTheme } from "../resources/CometChatTheme";
export type ImageType = ImageURISource;
export type SelectionMode = "none" | "single" | "multiple";
export type MessageReceipt = 'SENT' | 'DELIVERED' | 'READ' | 'ERROR' | 'WAIT';
export type DatePattern = 'timeFormat' | 'dayDateFormat' | 'dayDateTimeFormat';
export type ConversationType = "both" | "users" | "groups";
export type CometChatContextType = {
theme: CometChatTheme;
changeThemeMode?: (mode: "light" | "dark") => void;
changeLocalise?: (language: string) => void;
applyTheme: (theme: CometChatTheme) => void;
};
export type CometChatTabAlignment = "top" | "bottom";