import t from"react";var o=({children:s,sender:a,timestamp:r})=>{let e=a==="user";return t.createElement("div",{className:`w-[100%] ${e?"ml-auto":"mr-auto"} mb-4`},t.createElement("div",{className:`rounded-sm p-4 shadow-md ${e?"bg-gray-600 text-white":"bg-gray-200 text-black"}`},s),t.createElement("div",{className:`text-xs text-gray-500 mt-1 ${e?"text-right":"text-left"}`},r.toLocaleString()))},m=o;export{m as default};
//# sourceMappingURL=MessageContainer.mjs.map