learn-morse-code/src/components/ChallengeWord.js

7 lines
157 B
JavaScript
Raw Normal View History

2020-01-09 10:06:38 +01:00
import React from "react"
2020-01-19 04:35:11 +01:00
export default React.memo(function ChallengeWord(props) {
2020-01-09 10:06:38 +01:00
return (
2020-01-19 04:35:11 +01:00
<div id="challengeWord">{props.word}</div>
2020-01-09 10:06:38 +01:00
)
2020-01-19 04:35:11 +01:00
})