title: Attempted import error: 'withTranslation' is not exported from 'react-i18next'
body: <p>I am new to React nad I want to export a component but I get a error with 'withTranslation' </p>
  
  <p>a summary of my code (version:"i18next": "^17.0.6","react-i18next": "^9.0.10",):</p>
  
  <pre class="lang-js prettyprint-override"><code>import React, {Component} from 'react';
  
  import { translate } from 'react-i18next';
  //version: "i18next": "^17.0.6","react-i18next": "^9.0.10",
  
  //..........
  //.............
  class FromAlumno extends Component {
  //................
  //.....................
  }
  
  export default withTranslation("translation")(FromAlumno);
  </code></pre>