@cometchat/chat-uikit-react-native
Version:
Ready-to-use Chat UI Components for React Native
29 lines (28 loc) • 1.23 kB
TypeScript
import { ImageStyle, TextStyle, ViewStyle } from "react-native";
import { CometChatTheme } from "../../theme/type";
import { DeepPartial } from "../../shared/helper/types";
export type GroupCallBubbleStyles = {
titleStyle: TextStyle;
subtitleStyle: TextStyle;
containerStyle: ViewStyle;
iconStyle: ImageStyle;
iconContainerStyle: ViewStyle;
buttonStyle: ViewStyle;
buttonTextStyle: TextStyle;
dividerStyle?: ViewStyle;
};
export declare const getGroupCallBubbleStyle: (color: CometChatTheme["color"], spacing: CometChatTheme["spacing"], typography: CometChatTheme["typography"]) => {
incomingBubbleStyle: GroupCallBubbleStyles;
outgoingBubbleStyle: GroupCallBubbleStyles;
};
export type CallActionBubbleStyles = {
containerStyle: ViewStyle;
textStyle: TextStyle;
iconStyle: ImageStyle;
iconContainerStyle: ViewStyle;
missedCallContainerStyle: ViewStyle;
missedCallTextStyle: TextStyle;
missedCallIconStyle: ImageStyle;
missedCallIconContainerStyle: ViewStyle;
};
export declare const getCallActionBubbleStyle: (color: CometChatTheme["color"], spacing: CometChatTheme["spacing"], typography: CometChatTheme["typography"]) => DeepPartial<CallActionBubbleStyles>;