@@ -81,7 +81,7 @@ React hook that returns the t function
81
81
82
82
Params | Type | Description | Required
83
83
---- | ---- | ---- | ----
84
- basePath | string | translation basepath used to identify all the next requested translations | no
84
+ basePath | string | translation base path used to identify all the next requested translations | no
85
85
86
86
### withTranslation(component, basePath)
87
87
@@ -90,7 +90,7 @@ HOC that injects the translation function into the component
90
90
Params | Type | Description | Required
91
91
---- | ---- | ---- | ----
92
92
component | React Component | React component that requires the translation function | yes
93
- basePath | string | translation basepath used to identify all the next requested translations | no
93
+ basePath | string | translation base path used to identify all the next requested translations | no
94
94
95
95
## Translation Method
96
96
@@ -101,7 +101,7 @@ Returns the translation for the requested path
101
101
Params | Type | Description | Required
102
102
---- | ---- | ---- | ----
103
103
path | string | translation path that identifies the text | yes
104
- params | object | {'param': 'value', ...} each param will be set on the string in its correct location | no
104
+ params | object | {'param': 'value', ...} each parameter will be set on the string in its correct location | no
105
105
106
106
## Exported Methods
107
107
@@ -150,4 +150,4 @@ Returns the translation for the requested path
150
150
Params | Type | Description | Required
151
151
---- | ---- | ---- | ----
152
152
path | string | translation path that identifies the text | yes
153
- params | object | {'param': 'value', ...} each param will be set on the string in its correct location | no
153
+ params | object | {'param': 'value', ...} each parameter will be set on the string in its correct location | no
0 commit comments