UNPKG

@botonic/react

Version:

Build Chatbots using React

31 lines (30 loc) 1.04 kB
export class DevApp extends WebchatApp { constructor({ theme, persistentMenu, coverComponent, blockInputs, enableEmojiPicker, enableAttachments, enableUserInput, enableAnimations, shadowDOM, hostId, storage, storageKey, onInit, onOpen, onClose, onMessage, ...botOptions }: { [x: string]: any; theme?: {} | undefined; persistentMenu: any; coverComponent: any; blockInputs: any; enableEmojiPicker: any; enableAttachments: any; enableUserInput: any; enableAnimations: any; shadowDOM: any; hostId: any; storage: any; storageKey: any; onInit: any; onOpen: any; onClose: any; onMessage: any; }); bot: ReactBot; render(dest: any, optionsAtRuntime?: {}): void; onUserInput({ input, session, lastRoutePath }: { input: any; session: any; lastRoutePath: any; }): Promise<void>; } import { WebchatApp } from './webchat-app'; import { ReactBot } from './react-bot';