UNPKG

@botonic/react

Version:

Build Chatbots using React

14 lines 599 B
import { jsxs as _jsxs, Fragment as _Fragment, jsx as _jsx } from "react/jsx-runtime"; import { EventAction } from '@botonic/core'; import { SplitSvg } from '../icons/split'; export const getConditionalCustomEventConfig = (data) => { const title = (_jsxs(_Fragment, { children: ["Custom condition checked ", _jsxs("span", { children: ["- ", data.conditional_variable] })] })); return { action: EventAction.ConditionalCustom, title, component: null, icon: _jsx(SplitSvg, {}), collapsible: false, }; }; //# sourceMappingURL=conditional-custom.js.map