mirror of
https://github.com/FranP-code/Hangman-game-with-React.git
synced 2025-10-13 00:42:32 +00:00
12 lines
253 B
JavaScript
12 lines
253 B
JavaScript
import React from 'react'
|
|
|
|
const CurrentScore = (props) => {
|
|
return (
|
|
<div className='current-score'>
|
|
<h2><span className='text'>Current Score: </span>{props.currentScore}</h2>
|
|
</div>
|
|
)
|
|
}
|
|
|
|
export default CurrentScore
|