stream-chat-react
Version:
React components to create chat conversations or livestream style chat
14 lines (13 loc) • 512 B
TypeScript
import React from 'react';
import type { LocalMessage } from 'stream-chat';
export type FixedHeightMessageProps = {
groupedByUser?: boolean;
message?: LocalMessage;
};
/**
* @deprecated - This UI component will be removed in the next major release.
*
* FixedHeightMessage - This component renders a single message.
* It uses fixed height elements to make sure it works well in VirtualizedMessageList
*/
export declare const FixedHeightMessage: (props: FixedHeightMessageProps) => React.JSX.Element;