import React from "react" import PropTypes from "prop-types" import Linkify from 'linkifyjs/react'; const Message = ({ message, userId, botId, client, placeholder }) => { const senderClass = () => { switch (message.sender) { case 'from-me': return 'from-me' case userId: return 'from-me' case botId: return 'from-bot' default: return 'from-support' } } if (placeholder) { return(