UNPKG

web3-mq-react

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