mirror of
https://github.com/FranP-code/Hangman-game-with-React.git
synced 2025-10-13 00:42:32 +00:00
principal screen done
This commit is contained in:
@@ -2,8 +2,8 @@ import React from 'react'
|
||||
|
||||
const CurrentScore = (props) => {
|
||||
return (
|
||||
<div>
|
||||
<h2>Current Score: {props.currentScore}</h2>
|
||||
<div className='current-score'>
|
||||
<h2><span className='text'>Current Score: </span>{props.currentScore}</h2>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user