Write a component that, given a word as a property will display a blank field for each letter.
When a matching letter is correctly guessed, all fields that should contain that letter will show the letter.
When a letter in incorrectly guessed, the lives count will be decremented.
Notes:
React
should be used.- You can add libraries and use Google to check related syntax or documentation if needed