@cometchat/chat-uikit-react-native
Version:
Ready-to-use Chat UI Components for React Native
14 lines (13 loc) • 611 B
TypeScript
import { TextStyle, ViewStyle } from "react-native";
import { CometChatTheme } from "../../theme/type";
export type IncomingCallStyle = {
containerStyle: ViewStyle;
titleTextStyle: TextStyle;
subtitleTextStyle: TextStyle;
avatarStyle: CometChatTheme["avatarStyle"];
acceptCallTextStyle: TextStyle;
acceptCallButtonStyle: ViewStyle;
declineCallTextStyle: TextStyle;
declineCallButtonStyle: ViewStyle;
};
export declare const getIncomingCallStyle: (color: CometChatTheme["color"], spacing: CometChatTheme["spacing"], typography: CometChatTheme["typography"]) => IncomingCallStyle;