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