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 • 691 B
JavaScript
import { Palette } from './Palette';
import { Typography } from './Typography';
/**
*
* CometChatTheme is a component useful to add style to different components.
* This component returns an JSON object of Palette and Typography
*
* @version 1.0.0
* @author CometChat
* @class CometChatTheme
* @param {Object} palette
* @param {Object} typography
*/
class CometChatTheme {
palette;
typography;
constructor({ palette = new Palette({}), typography = new Typography({}) }) {
this.palette = new Palette(palette);
this.typography = new Typography(typography);
}
}
export { CometChatTheme, Palette, Typography };
//# sourceMappingURL=CometChatTheme.js.map