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

33 lines 1.19 kB
import { BaseStyle, FontStyle } from "../../../shared/base"; /** * @class EmojiKeyboardStyle * @param {String} sectionHeaderFont * @param {String} sectionHeaderColor * @param {String} categoryIconTint * @param {String} selectedCategoryIconTint */ class EmojiKeyboardStyle extends BaseStyle { sectionHeaderFont; sectionHeaderColor; categoryIconTint; selectedCategoryIconTint; categoryBackground; constructor({ sectionHeaderFont = {}, sectionHeaderColor = "", categoryIconTint = "", selectedCategoryIconTint = "", categoryBackground = "", width = "100%", height = 330, backgroundColor = "", // border = 0, borderRadius = 8, }) { super({ width, height, backgroundColor, // border, borderRadius, }); this.sectionHeaderFont = new FontStyle(sectionHeaderFont ?? {}); this.sectionHeaderColor = sectionHeaderColor; this.categoryIconTint = categoryIconTint; this.selectedCategoryIconTint = selectedCategoryIconTint; this.categoryBackground = categoryBackground; } } export { EmojiKeyboardStyle }; //# sourceMappingURL=EmojiKeyboardStyle.js.map