UNPKG

react-native-chating-ui-kit

Version:

CometChat React Native UI Kit is a collection of custom UI Components designed to build text , chat and calling features in your application. The UI Kit is developed to keep developers in mind and aims to reduce development efforts significantly

32 lines (31 loc) 1.19 kB
/** * @class MessagePreviewStyle * @param {String} border * @param {String} background * @param {String} messagePreviewTitleFont * @param {String} messagePreviewTitleColor * @param {String} messagePreviewSubtitleColor * @param {String} messagePreviewSubtitleFont * @param {String} closeIconTint */ export class MessagePreviewStyle extends BaseStyle { constructor({ messagePreviewTitleFont, messagePreviewTitleColor, messagePreviewSubtitleColor, messagePreviewSubtitleFont, closeIconTint, width, height, backgroundColor, border, borderRadius, }: { messagePreviewTitleFont?: {}; messagePreviewTitleColor?: string; messagePreviewSubtitleColor?: string; messagePreviewSubtitleFont?: {}; closeIconTint?: string; width?: string; height?: string; backgroundColor?: string; border?: BorderStyle; borderRadius?: number; }); messagePreviewTitleFont: {}; messagePreviewTitleColor: string; messagePreviewSubtitleColor: string; messagePreviewSubtitleFont: {}; closeIconTint: string; } import { BaseStyle } from "../../../shared/base"; import { BorderStyle } from "../../../shared/base";