<commit_before><commit_msg>put Menu component to the side for now<commit_after>type MenuProps = {
  toggleHelp?: (on: boolean) => void
}

export default function Menu({ toggleHelp }: MenuProps) {
  return (
    <header className="navbar navbar-default">
      <div className="container-fluid">
        <div className="navbar-brand">So Puzzled!</div>
        <label className="navbar-text pull-right" htmlFor="help">
          <input
            id="help"
            type="checkbox"
            // While the game logic is not initialised yet, this button stays disabled.
            disabled={!toggleHelp}
            // Callback function that calls the game logic's toggleHelp method.
            // Kinda wish I had written this in ES6 now and could use arrow functions.
            onChange={e => toggleHelp && toggleHelp(!!e.target.checked)}
          />
          &nbsp; Need Help?
        </label>
      </div>
    </header>
  )
}
{'fraction_non_alphanumeric': 0.11324786324786325, 'fraction_numerical': 0.0010683760683760685, 'mean_word_length': 2.3345195729537367, 'pattern_counts': {'":': 0, '<': 12, '<?xml version=': 0, '>': 14, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4686564', 'n_tokens_mistral': 252, 'n_tokens_neox': 247, 'n_words': 80}