custom-chatbot-app
Version:
This is my custom chatbot package for BuyersEdge
11 lines • 494 B
JavaScript
import React from 'react';
import { StyledUserMessageWrapper, StyledUserMessage, StyledUserTime } from './styled';
var UserMessage = function (_a) {
var message = _a.message;
return (React.createElement(StyledUserMessageWrapper, null,
React.createElement(StyledUserMessage, null, message.text),
React.createElement(StyledUserTime, null,
React.createElement("span", null, message.timeStamp))));
};
export default UserMessage;
//# sourceMappingURL=index.js.map