import '../styles/MessageBubble.css' function MessageBubble({ role, text }: { role: 'user' | 'bot'; text: string }) { const isCode = text.includes('\n') && role === 'bot' return (
{isCode ? (
          {text}
        
) : (

{text}

)}
) } export default MessageBubble