UNPKG

@cometchat/chat-uikit-react-native

Version:

Ready-to-use Chat UI Components for React Native

18 lines (17 loc) 926 B
import { ImageSourcePropType, ImageStyle, TextStyle, ViewStyle } from "react-native"; import { CometChatTheme } from "../../../theme/type"; import { JSX } from "react"; export type ConfirmDialogStyle = { containerStyle: ViewStyle; titleTextStyle: TextStyle; messageTextStyle: TextStyle; icon?: ImageSourcePropType | JSX.Element; iconContainerStyle: ViewStyle; iconImageStyle: ImageStyle; cancelButtonStyle: ViewStyle; confirmButtonStyle: ViewStyle; cancelButtonTextStyle: TextStyle; confirmButtonTextStyle: TextStyle; }; export declare const getConfirmDialogStyleLight: (color: CometChatTheme["color"], spacing: CometChatTheme["spacing"], typography: CometChatTheme["typography"]) => ConfirmDialogStyle; export declare const getConfirmDialogStyleDark: (color: CometChatTheme["color"], spacing: CometChatTheme["spacing"], typography: CometChatTheme["typography"]) => ConfirmDialogStyle;