javascript - 如何在反应中将多个参数传递给withTranslation方法?
问题描述
在 的情况下I18nNamespace.Data
,我需要传递两个参数:
export default withTranslation(I18nNamespaces.Data)(ComponentName);
解决方案
推荐阅读
- asp.net-mvc - 如何限制每个用户有权尝试登录 ASP.NET MVC 的次数
- reactjs - 类型错误:_firebase_firebase_utils_js__WEBPACK_IMPORTED_MODULE_7__.auth.onAuthStateChange 不是函数
- javascript - Formik - 子组件意外重置整个表单状态
- flutter - set 添加重复项
- python - 我需要什么语法才能正确遍历此列表?
- c# - 获取 ASP.NET-Core 2.2 控制器中的控制器名称和方法名称
- javascript - 如何在 JavaScript 中重做 for...of 循环?
- core-data - 带有 Core Data 的 SwiftUI:获取带有谓词崩溃的请求
- angular - 监听 RadListView 的滚动事件
- solr - Solr Repeaters/Slaves 复制是 Master 上的每次提交,而不是 Optimize