UNPKG

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

26 lines (25 loc) 640 B
import React from 'react'; import { AvatarStyle, AvatarStyleInterface } from './AvatarStyle'; import { ImageType } from '../../base'; /** * CometChatAvatar is a component useful for displaying image of user/group * This component displays the image or text of user/group * * @Version 1.0.0 * @author CometChat * */ interface CometChatAvatarProps { image?: ImageType; name: string; style?: AvatarStyleInterface; } export declare const CometChatAvatar: { (props: CometChatAvatarProps): React.JSX.Element; defaultProps: { image: string; name: string; style: AvatarStyle; }; }; export {};