custom-chatbot-app
Version:
This is my custom chatbot package for BuyersEdge
7 lines • 347 B
JavaScript
import React from 'react';
export var formatBotMessage = function (text) {
return text === null || text === void 0 ? void 0 : text.split('\n').map(function (line, i) { return (React.createElement(React.Fragment, { key: i },
i !== 0 && React.createElement("br", null),
line)); });
};
//# sourceMappingURL=formatBotMessage.js.map