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 { ArrowProgressSvg } from '../icons/arrow-progress'; export const getRedirectFlowEventConfig = (data) => { const title = (_jsxs(_Fragment, { children: ["Redirected to flow ", _jsxs("span", { children: ["- ", data.flow_target_name] })] })); return { action: EventAction.RedirectFlow, title, component: null, icon: _jsx(ArrowProgressSvg, {}), collapsible: false, }; }; //# sourceMappingURL=redirect-flow.js.map