stream-chat-react
Version:
React components to create chat conversations or livestream style chat
11 lines (10 loc) • 413 B
TypeScript
import React from 'react';
import type { LocalMessage } from 'stream-chat';
import type { MessageContextValue } from '../../context';
export type MessageTextProps = {
customInnerClass?: string;
customWrapperClass?: string;
message?: LocalMessage;
theme?: string;
} & Pick<MessageContextValue, 'renderText'>;
export declare const MessageText: (props: MessageTextProps) => React.JSX.Element | null;