UNPKG

chaichai

Version:

[![NPM](https://img.shields.io/npm/v/chaichai.svg)](https://www.npmjs.com/package/chaichai) [![npm downloads](https://img.shields.io/npm/dm/chaichai.svg)](https://www.npmjs.com/package/chaichai) [![TypeScript](https://img.shields.io/badge/%3C%2F%3E-TypeSc

19 lines (18 loc) 513 B
/// <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;