stream-chat-react
Version:
React components to create chat conversations or livestream style chat
15 lines • 872 B
TypeScript
import React from 'react';
import { type ChannelAvatarProps } from '../Avatar';
export type ChannelHeaderProps = {
/** UI component to display an avatar, defaults to [Avatar](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Avatar/Avatar.tsx) component and accepts the same props as: [ChannelAvatar](https://github.com/GetStream/stream-chat-react/blob/master/src/components/Avatar/ChannelAvatar.tsx) */
Avatar?: React.ComponentType<ChannelAvatarProps>;
/** Manually set the image to render, defaults to the Channel image */
image?: string;
/** Set title manually */
title?: string;
};
/**
* The ChannelHeader component renders some basic information about a Channel.
*/
export declare const ChannelHeader: (props: ChannelHeaderProps) => import("react/jsx-runtime").JSX.Element;
//# sourceMappingURL=ChannelHeader.d.ts.map