UNPKG

@cometchat/chat-uikit-react-native

Version:

Ready-to-use Chat UI Components for React Native

36 lines (32 loc) 1.14 kB
import { FontStyleInterface } from "../../base"; export interface CometChatConfirmDialogStyleInterface { messageTextColor?: string; titleTextStyle?: FontStyleInterface; // messageTextFont?: FontStyleInterface; messageTextStyle?: FontStyleInterface; cancelBackground?: string; cancelButtonTextColor?: string; cancelButtonTextFont?: FontStyleInterface; confirmBackground?: string; confirmButtonTextColor?: string; confirmButtonTextFont?: FontStyleInterface; } export class CometChatConfirmDialogStyle implements CometChatConfirmDialogStyleInterface { messageTextColor?: string; titleTextStyle?: FontStyleInterface; // messageTextFont?: FontStyleInterface; messageTextStyle?: FontStyleInterface; cancelBackground?: string; cancelButtonTextColor?: string; cancelButtonTextFont?: FontStyleInterface; confirmBackground?: string; confirmButtonTextColor?: string; confirmButtonTextFont?: FontStyleInterface; constructor(props: CometChatConfirmDialogStyleInterface) { if (props) for (const [key, value] of Object.entries(props)) { //@ts-ignore this[key] = value; } } }