UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

6 lines (5 loc) 546 B
import React from 'react'; import type { MessageContextValue } from '../../context/MessageContext'; export type QuotedMessageProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Pick<MessageContextValue<StreamChatGenerics>, 'renderText'>; import type { DefaultStreamChatGenerics } from '../../types/types'; export declare const QuotedMessage: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>({ renderText: propsRenderText, }: QuotedMessageProps) => React.JSX.Element | null;