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
29 lines (28 loc) • 975 B
TypeScript
import { BorderStyleInterface, FontStyleInterface } from '../../base';
import { BaseStyle, BaseStyleInterface } from '../../base/BaseStyle';
export declare class AvatarStyle extends BaseStyle {
nameTextFont?: FontStyleInterface;
nameTextColor?: string;
outerView?: BorderStyleInterface;
outerViewSpacing?: number;
/**
*
* @param {Object} param0
* @field height
* @field width
* @field border
* @field borderRadius
* @field backgroundColor
* @field nameTextColor
* @field nameTextFont
* @field outerView
* @field outerViewSpacing
*/
constructor({ height, width, border, borderRadius, backgroundColor, nameTextColor, nameTextFont, outerView, outerViewSpacing, }: AvatarStyleInterface);
}
export interface AvatarStyleInterface extends BaseStyleInterface {
nameTextFont?: FontStyleInterface;
nameTextColor?: string;
outerView?: BorderStyleInterface;
outerViewSpacing?: number;
}