mirror of
https://github.com/FranP-code/Hangman-game-with-React.git
synced 2025-10-13 00:42:32 +00:00
Hangman and Current score done
This commit is contained in:
11
src/components/CurrentScore.jsx
Normal file
11
src/components/CurrentScore.jsx
Normal file
@@ -0,0 +1,11 @@
|
||||
import React from 'react'
|
||||
|
||||
const CurrentScore = (props) => {
|
||||
return (
|
||||
<div>
|
||||
<h2>Current Score: {props.currentScore}</h2>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
||||
export default CurrentScore
|
||||
Reference in New Issue
Block a user