swap-chat-react
Version:
swap-chat-react-components
12 lines (11 loc) • 403 B
TypeScript
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;