Overnap

ChatLine 컴포넌트 추가

import React from 'react';
import { ChatData } from './types';
interface ChatLineProps {
chatData: ChatData;
}
export const ChatLine: React.FC<ChatLineProps> = ({ chatData }) => {
return (
<div className='w-5/6 px-3 py-2 bg-white
text-gray-700 text-sm'>{chatData.sender} : {chatData.message}</div>
);
}