stream-chat-react
Version:
React components to create chat conversations or livestream style chat
12 lines (11 loc) • 466 B
TypeScript
import type { PropsWithChildren } from 'react';
import React from 'react';
import type { LocalMessage } from 'stream-chat';
export type WindowProps = {
/** optional prop to force addition of class str-chat__main-panel---with-thread-opn to the Window root element */
thread?: LocalMessage;
};
/**
* A UI component for conditionally displaying a Thread or Channel
*/
export declare const Window: (props: PropsWithChildren<WindowProps>) => React.JSX.Element;