UNPKG

stream-chat-react

Version:

React components to create chat conversations or livestream style chat

15 lines 934 B
import React from 'react'; import { MessageContextValue } from '../../context/MessageContext'; import type { DefaultStreamChatGenerics } from '../../types/types'; export declare type MessageOptionsProps<StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics> = Partial<Pick<MessageContextValue<StreamChatGenerics>, 'handleOpenThread'>> & { ActionsIcon?: React.FunctionComponent; /** @deprecated: use CSS to style the order of the contents */ displayLeft?: boolean; displayReplies?: boolean; messageWrapperRef?: React.RefObject<HTMLDivElement>; ReactionIcon?: React.FunctionComponent; theme?: string; ThreadIcon?: React.FunctionComponent; }; export declare const MessageOptions: <StreamChatGenerics extends DefaultStreamChatGenerics = DefaultStreamChatGenerics>(props: MessageOptionsProps<StreamChatGenerics>) => JSX.Element | null; //# sourceMappingURL=MessageOptions.d.ts.map