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
23 lines • 913 B
JavaScript
import { BaseStyle, BorderStyle, FontStyle } from "../../base";
export class FileBubbleStyle extends BaseStyle {
iconTint;
subtitleColor;
subtitleFont;
titleColor;
titleFont;
constructor({ height = "auto", width = "auto", backgroundColor = "rgba(20, 20, 20, 0.04)", border = new BorderStyle({}), borderRadius = 8, iconTint = "rgb(51, 153, 255)", subtitleColor = "rgba(20, 20, 20, 0.58)", subtitleFont = new FontStyle({}), titleColor, titleFont = new FontStyle({ fontSize: 17, fontWeight: "500" }), }) {
super({
backgroundColor,
border,
borderRadius,
height,
width
});
this.iconTint = iconTint;
this.subtitleColor = subtitleColor;
this.subtitleFont = subtitleFont;
this.titleColor = titleColor;
this.titleFont = titleFont;
}
}
//# sourceMappingURL=FileBubbleStyle.js.map