UNPKG

@rohitninawe/chat-uikit-react-native

Version:

Ready-to-use Chat UI Components for React Native

52 lines (51 loc) 2.28 kB
import { CometChatTheme } from '../shared'; import { CardStyle, CardViewStyle } from './CardViewStyle'; import { AIButtonsStyle } from './utils'; import { AISmartRepliesStyle } from './AISmartReplies/AISmartRepliesStyle'; export declare function viewContainerStyle(style: CardViewStyle): { justifyContent: string; alignItems: string; position: string; bottom: number; width: string; }; export declare function defaultViewStyle(style: CardViewStyle): { justifyContent: string; alignItems: string; textAlign: string; }; export declare function errorLabelStyle(style: CardViewStyle, aiStyles?: AISmartRepliesStyle): { color: string; fontFamily?: string; fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900"; fontSize?: number; }; export declare function emptyLabelStyle(style: CardViewStyle, aiStyles?: AISmartRepliesStyle): { color: string; fontFamily?: string; fontWeight?: "normal" | "bold" | "100" | "200" | "300" | "400" | "500" | "600" | "700" | "800" | "900"; fontSize?: number; }; export declare function tabButtonStyle(style: CardViewStyle): { borderRadius: number; backgroundColor: string; borderWidth?: number; borderStyle?: "solid" | "dotted" | "dashed"; borderColor?: string; alignItems: string; opacity: number; cursor: string; height: string | number; width: string | number; flexDirection: string; justifyContent: string; padding: number; }; export declare function getPopoverStyle(style: CardViewStyle): any; export declare function getloadingStateStyle(theme: any, configStyles?: CardViewStyle, AIStyle?: AISmartRepliesStyle): any; export declare function getCardViewStyle(theme: CometChatTheme, style: CardViewStyle, AiStyles?: AISmartRepliesStyle): any; export declare const containerStyle: any; export declare const contentContainerStyle: any; export declare function getRepliesStyle(theme: any, configStyles: any, cardStyle?: CardStyle): any; export declare function getRepliesWrapperStyle(theme: CometChatTheme, configStyles: AIButtonsStyle, cardStyle?: CardStyle): any; export declare function getButtonStyles(theme: CometChatTheme, style: AISmartRepliesStyle, cardStyle?: CardStyle): any;