@cometchat/chat-uikit-react-native
Version:
Ready-to-use Chat UI Components for React Native
28 lines (25 loc) • 934 B
text/typescript
import { FontStyleInterface } from "../../shared";
export interface LinkPreviewBubbleStyleInterface {
backgroundColor?: string,
titleFont?: FontStyleInterface,
titleColor?: string,
subtitleFont?: FontStyleInterface,
subtitleColor?: string,
childContainerStyle?: Object
}
export class LinkPreviewBubbleStyle implements LinkPreviewBubbleStyleInterface {
backgroundColor?: string
titleFont?: FontStyleInterface
titleColor?: string
subtitleFont?: FontStyleInterface
subtitleColor?: string
childContainerStyle?: Object
constructor(props: LinkPreviewBubbleStyleInterface) {
this.backgroundColor = props.backgroundColor;
this.titleFont = props.titleFont;
this.titleColor = props.titleColor;
this.subtitleFont = props.subtitleFont;
this.subtitleColor = props.subtitleColor;
this.childContainerStyle = props.childContainerStyle;
}
}