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
22 lines (21 loc) • 824 B
TypeScript
import React from "react";
import { BaseStyleInterface } from "../../base";
import { MessageBubbleAlignmentType } from "../../constants/UIKitConstants";
export interface CometChatMessageBubbleInterface {
id: string;
LeadingView?: () => JSX.Element;
HeaderView?: () => JSX.Element;
ReplyView?: () => JSX.Element;
BottomView?: () => JSX.Element;
ContentView?: () => JSX.Element;
ThreadView?: () => JSX.Element;
FooterView?: () => JSX.Element;
alignment?: MessageBubbleAlignmentType;
style?: BaseStyleInterface;
}
export declare const CometChatMessageBubble: {
({ HeaderView, ReplyView, ContentView, FooterView, LeadingView, BottomView, ThreadView, alignment, id, style }: CometChatMessageBubbleInterface): React.JSX.Element;
defaultProps: {
alignment: string;
};
};