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
19 lines • 569 B
JavaScript
import { AvatarStyle } from './AvatarStyle';
/**
* @class AvatarConfiguration
* @description AvatarConfiguration class is used for defining the Avatar template.
*/
export class AvatarConfiguration {
style;
resizeMode;
/**
* @param {Object} param0
* @field style - Object of AvatarStyle class
* @field resizeMode - resize mode for image
*/
constructor({ style = new AvatarStyle({}), resizeMode = 'cover', }) {
this.style = style;
this.resizeMode = resizeMode;
}
}
//# sourceMappingURL=AvatarConfiguration.js.map