UNPKG

@botonic/react

Version:

Build Chatbots using React

14 lines 580 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 getConditionalCountryEventConfig = (data) => { const title = (_jsxs(_Fragment, { children: ["Country checked ", _jsxs("span", { children: ["- ", data.country] })] })); return { action: EventAction.ConditionalCountry, title, component: null, icon: _jsx(SplitSvg, {}), collapsible: false, }; }; //# sourceMappingURL=conditional-country.js.map