UNPKG

@botonic/react

Version:

Build Chatbots using React

13 lines 555 B
import { jsxs as _jsxs, Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime"; import { EventAction } from '@botonic/core'; import { BrainSvg } from '../icons'; export const getSmartIntentEventConfig = (data) => { const title = (_jsxs(_Fragment, { children: ["Smart intent triggered ", _jsxs("span", { children: ["- \"", data.nlu_intent_smart_title, "\""] })] })); return { action: EventAction.IntentSmart, title, component: null, icon: _jsx(BrainSvg, {}), }; }; //# sourceMappingURL=smart-intent.js.map