UNPKG

react-19-kit

Version:

Ready-to-use Chat UI Components for React(Javascript/Web)

14 lines (13 loc) 408 B
interface BaseProps { /** Name used for displaying initials in the avatar. */ name?: string; /** URL of the avatar image to be displayed. */ image?: string; } type CometChatAvatarProps = BaseProps & { name: string; } | BaseProps & { image: string; }; declare const CometChatAvatar: (props: CometChatAvatarProps) => import("react/jsx-runtime").JSX.Element; export { CometChatAvatar };