Toggle navigation
Toggle navigation
This project
Loading...
Sign in
강동현
/
nodejs-game
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Overnap
2021-06-07 05:03:51 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
1a94852a9b4d33db84f99f0341e8f7273a6b82e5
1a94852a
1 parent
73e2119b
ChatLine 컴포넌트 추가
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
0 deletions
web/src/components/room/ChatLine.tsx
web/src/components/room/ChatLine.tsx
0 → 100644
View file @
1a94852
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>
);
}
Please
register
or
login
to post a comment