RoundInfo.tsx
470 Bytes
import React from 'react';
import SocketContext from '../../contexts/SocketContext';
import { RoundData } from './types';
interface RoundInfoProps {
round: number;
wordChosen: string;
}
export const RoundInfo: React.FC<RoundInfoProps> = ({ round, wordChosen }) => {
return (
<div className='w-full p-3 flex items-center place-content-between'>
<div>대충 타이머 위치</div>
<div>{wordChosen}</div>
<div>R{round}</div>
</div>
);
}