@rohitninawe/chat-uikit-react-native
Version:
Ready-to-use Chat UI Components for React Native
33 lines • 1.16 kB
JavaScript
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