UNPKG

widget-chatbot

Version:

- [![React][react.js]][react-url] - [![Socket-io][socket-io-img]][socket-io-url] - [![Chart.js][chart.js-img]][chart.js-url]

26 lines (21 loc) 548 B
import { Axios } from "axios"; import { ReactNode } from "react"; declare module "widget-chatbot" { type PayslipFn = { onSubmitPYPwd: () => Axios; onCheckPYAccess: () => void; }; export type WidgetChatbotProps = { getStartedPayload: string; socketURL: string; socketPath: string; onPayslipFn: PayslipFn; title: string; subTitle: string; keyEncrypt: string; history: Object; isSF?: boolean; }; const WidgetChatbot: (props: WidgetChatbotProps) => ReactNode; export default WidgetChatbot; }