import React from 'react';
import CodeBlock from './CodeBlock';
const formatText = (text) => {
return text
.replace(/\n/g, "
")
.replace(/\*\*(.*?)\*\*/g, "$1")
.replace(/\*(.*?)\*/g, "$1");
};
export default function MessageBubble({ role, content, time }) {
return (