UNPKG

@botonic/react

Version:

Build Chatbots using React

14 lines 579 B
import { jsxs as _jsxs, Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime"; import { EventAction } from '@botonic/core'; import { QuoteRightSvg } from '../icons/quote-right'; export const getKeywordEventConfig = (data) => { const title = (_jsxs(_Fragment, { children: ["Keyword matched ", _jsxs("span", { children: ["- \"", data.nlu_keyword_name, "\""] })] })); return { action: EventAction.Keyword, title, component: null, icon: _jsx(QuoteRightSvg, {}), collapsible: false, }; }; //# sourceMappingURL=keyword.js.map