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

21 lines 901 B
import { BaseStyle, BorderStyle, FontStyle } from "../../base"; export class TextBubbleStyle extends BaseStyle { textColor; textFont; linkTextFont; linkTextColor; constructor({ width = "auto", height = "auto", backgroundColor = "rgba(20,20,20,0.04)", border = new BorderStyle({}), borderRadius = 0, textColor = "rgb(20, 20, 20)", textFont = new FontStyle({ fontSize: 17, fontWeight: "400" }), linkTextColor = "blue", linkTextFont = new FontStyle({ fontSize: 17, fontWeight: "400" }), }) { super({ width, height, backgroundColor, border, borderRadius }); this.textColor = textColor; this.textFont = new FontStyle({ ...textFont }); this.linkTextColor = linkTextColor; this.linkTextFont = new FontStyle({ ...linkTextFont }); } } //# sourceMappingURL=TextBubbleStyle.js.map