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

30 lines 1.39 kB
import { BaseStyle, FontStyle } from "../../shared/base"; export class CollaborativeBubbleStyle extends BaseStyle { iconTint; titleColor; titleFont; subTitleFont; subTitleColor; buttonBackgroundColor; buttonTextColor; buttonTextFont; dividerTint; constructor({ width = 228, height = 142, iconTint = "rgba(20, 20, 20, 0.69)", titleFont = new FontStyle({ fontSize: 15, fontWeight: "500" }), titleColor = "rgba(20,20,20,1)", backgroundColor = "rgba(20, 20, 20, 0.04)", subTitleFont = new FontStyle({ fontSize: 13, fontWeight: "400" }), subTitleColor = "rgba(20,20,20,0.58)", borderRadius = 10, buttonTextColor = "rgba(51,153,255,1)", buttonTextFont = new FontStyle({ fontSize: 16, fontWeight: "700" }), buttonBackgroundColor = 'transparent', dividerTint = "rgba(20, 20, 20, 0.1)", }) { super({ height, width, backgroundColor, borderRadius, }); this.iconTint = iconTint; this.titleColor = titleColor; this.titleFont = titleFont; this.subTitleFont = subTitleFont; this.subTitleColor = subTitleColor; this.buttonBackgroundColor = buttonBackgroundColor; this.buttonTextColor = buttonTextColor; this.buttonTextFont = buttonTextFont; this.dividerTint = dividerTint; } } //# sourceMappingURL=CollaborativeBubbleStyle.js.map