Add buttons to change the type of test and choose options for a given test (duration of timed test or number of words).
Bug Fixes / Minor Changes
N/A
Why
There should be an easy way to configure the typing test.
How
Buttons are added for each of the types of tests (timed, words). Depending on which is active, a separate ConfigOptions.jsx component renders the options. Each option is a button with a custom attribute that handle functions read and set the config state object accordingly.
Changes
Major Changes
Add buttons to change the type of test and choose options for a given test (duration of timed test or number of words).
Bug Fixes / Minor Changes
N/A
Why
There should be an easy way to configure the typing test.
How
Buttons are added for each of the types of tests (timed, words). Depending on which is active, a separate
ConfigOptions.jsx
component renders the options. Each option is a button with a custom attribute that handle functions read and set the config state object accordingly.Notes
N/A