UNPKG

swap-chat-react

Version:
12 lines (11 loc) 403 B
import React, { PropsWithChildren } from 'react'; import type { Client } from 'web2-mq'; import { AppTypeEnum } from '../../context/ChatContext'; export declare type ChatProps = { client: Client; className?: string; appType?: AppTypeEnum; style?: React.CSSProperties; logout: () => void; }; export declare const Chat: (props: PropsWithChildren<ChatProps>) => JSX.Element;