UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

9 lines (8 loc) 545 B
import React from 'react'; import type { AvatarProps } from './Avatar'; import type { GroupChannelDisplayInfo } from '../ChannelPreview'; export type GroupAvatarProps = Pick<AvatarProps, 'className' | 'onClick' | 'onMouseOver'> & { /** Mapping of image URLs to names which initials will be used as fallbacks in case image assets fail to load. */ groupChannelDisplayInfo: GroupChannelDisplayInfo; }; export declare const GroupAvatar: ({ className, groupChannelDisplayInfo, onClick, onMouseOver, }: GroupAvatarProps) => React.JSX.Element;