@cometchat/chat-uikit-react-native
Version:
Ready-to-use Chat UI Components for React Native
14 lines (13 loc) • 699 B
TypeScript
import { ImageSourcePropType, ImageStyle, ViewStyle } from "react-native";
import { CometChatTheme } from "../../theme/type";
import { JSX } from "react";
export type CallButtonStyle = {
containerStyle: ViewStyle;
audioCallButtonIcon?: ImageSourcePropType | JSX.Element;
audioCallButtonIconStyle: ImageStyle;
audioCallButtonIconContainerStyle: ViewStyle;
videoCallButtonIcon?: ImageSourcePropType | JSX.Element;
videoCallButtonIconStyle: ImageStyle;
videoCallButtonIconContainerStyle: ViewStyle;
};
export declare const getCallButtonStyle: (color: CometChatTheme["color"], spacing: CometChatTheme["spacing"], typography: CometChatTheme["typography"]) => CallButtonStyle;