npm install react-typing-test
// something.js
import { TypingTest } from 'react-typing-test';
const Something = (props) => {
return (
<TypingTest language="english" wordLimit={120} />
)
}
export default Something;
wordLimit: {
type: Number
default: 50
}
language: {
type: String
default: 'english'
}
theme: {
type: String
default: 'Purpleish'
}
Fix the themes:
- main text color and input color should be different
- correct vs incorrect colors aren't always great
- maybe some gradients
- word count
- language (untested)
- themes
- Clean and Refactor ...