@botonic/react
Version:
Build Chatbots using React
14 lines • 580 B
JavaScript
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 getConditionalChannelEventConfig = (data) => {
const title = (_jsxs(_Fragment, { children: ["Channel checked ", _jsxs("span", { children: ["- ", data.channel] })] }));
return {
action: EventAction.ConditionalChannel,
title,
component: null,
icon: _jsx(SplitSvg, {}),
collapsible: false,
};
};
//# sourceMappingURL=conditional-channel.js.map