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
27 lines • 1.24 kB
JavaScript
import { BaseStyle, BorderStyle, FontStyle } from "../shared";
export class TabItemStyle extends BaseStyle {
iconTint;
activeIconTint;
titleTextFont;
titleTextColor;
activeTitleTextFont;
activeTitleTextColor;
activeBackgroundColor;
constructor({ activeBackgroundColor = "white", activeIconTint = "rgb(51, 153, 255)", activeTitleTextColor = "rgb(51, 153, 255)", activeTitleTextFont = new FontStyle({ fontSize: 16, fontWeight: "500" }), iconTint = "rgb(20, 20, 20)", titleTextColor = "rgb(20, 20, 20)", titleTextFont = new FontStyle({ fontSize: 16, fontWeight: "500" }), backgroundColor = "white", border = new BorderStyle({}), borderRadius = 0, height = 70, width = 70 }) {
super({
backgroundColor,
border,
borderRadius,
height,
width
});
this.activeBackgroundColor = activeBackgroundColor;
this.activeIconTint = activeIconTint;
this.activeTitleTextColor = activeTitleTextColor;
this.activeTitleTextFont = activeTitleTextFont;
this.iconTint = iconTint;
this.titleTextColor = titleTextColor;
this.titleTextFont = titleTextFont;
}
}
//# sourceMappingURL=TabItemStyle.js.map