chaichai
Version:
[](https://www.npmjs.com/package/chaichai) [](https://www.npmjs.com/package/chaichai) [ • 513 B
TypeScript
/// <reference types="react" />
import { StreamingType } from '../interface-type';
declare const Streaming: {
(props: StreamingType): JSX.Element;
defaultProps: {
clientConfig: {
protocols: string;
host: string;
port: number;
ssl: boolean;
topic: string;
};
onConnectionLost: () => void;
onMessageArrived: () => void;
onConnectionSuccess: () => void;
};
};
export default Streaming;