From 6fb021e6c44f7186bd374ac754a60ec9091fe950 Mon Sep 17 00:00:00 2001 From: Jeremy Kahn Date: Sun, 21 Aug 2022 10:32:54 -0500 Subject: [PATCH] feat: style messages --- .../ChatTranscript/ChatTranscript.tsx | 18 ++++++++++++++++-- 1 file changed, 16 insertions(+), 2 deletions(-) diff --git a/src/components/ChatTranscript/ChatTranscript.tsx b/src/components/ChatTranscript/ChatTranscript.tsx index 5e4811c..9821bf5 100644 --- a/src/components/ChatTranscript/ChatTranscript.tsx +++ b/src/components/ChatTranscript/ChatTranscript.tsx @@ -8,9 +8,23 @@ export interface ChatTranscriptProps { export const ChatTranscript = ({ messageLog }: ChatTranscriptProps) => { return ( -
+
{messageLog.map((message, idx) => ( - {message.text} +
+ + {message.text} + +
))}
)