stream-chat-react
Version:
React components to create chat conversations or livestream style chat
10 lines (9 loc) • 337 B
TypeScript
import type { PropsWithChildren } from 'react';
import React from 'react';
import type { UserResponse } from 'stream-chat';
export type MentionProps = PropsWithChildren<{
node: {
mentionedUser: UserResponse;
};
}>;
export declare const Mention: ({ children, node: { mentionedUser } }: MentionProps) => React.JSX.Element;