UNPKG

@chatscope/use-chat

Version:

React hook for state management in chat applications

13 lines (12 loc) 356 B
import { UserId } from "./Types"; export interface TypingUserParams { readonly userId: UserId; readonly content: string; readonly isTyping: boolean; } export declare class TypingUser { readonly userId: UserId; readonly content: string; readonly isTyping: boolean; constructor({ userId, content, isTyping }: TypingUserParams); }