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
20 lines (19 loc) • 605 B
TypeScript
import { AvatarStyleInterface } from './AvatarStyle';
/**
* @class AvatarConfiguration
* @description AvatarConfiguration class is used for defining the Avatar template.
*/
export declare class AvatarConfiguration {
style?: AvatarStyleInterface;
resizeMode?: string;
/**
* @param {Object} param0
* @field style - Object of AvatarStyle class
* @field resizeMode - resize mode for image
*/
constructor({ style, resizeMode, }: AvatarConfigurationInterface);
}
export interface AvatarConfigurationInterface {
style?: AvatarStyleInterface;
resizeMode?: string;
}