react-i18next 11.16.0 → 11.16.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,3 +1,7 @@
1
+ ### 11.16.1
2
+
3
+ - types: for context prop of Trans component
4
+
1
5
  ### 11.16.0
2
6
 
3
7
  - fix: transSupportBasicHtmlNodes for keepArray check [1470](https://github.com/i18next/react-i18next/pull/1470)
package/index.d.ts CHANGED
@@ -36,6 +36,7 @@ export interface TransProps<E extends Element = HTMLDivElement>
36
36
  children?: React.ReactNode;
37
37
  components?: readonly React.ReactNode[] | { readonly [tagName: string]: React.ReactNode };
38
38
  count?: number;
39
+ context?: string;
39
40
  defaults?: string;
40
41
  i18n?: i18n;
41
42
  i18nKey?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-i18next",
3
- "version": "11.16.0",
3
+ "version": "11.16.1",
4
4
  "description": "Internationalization for react done right. Using the i18next i18n ecosystem.",
5
5
  "main": "dist/commonjs/index.js",
6
6
  "types": "./index.d.ts",
package/ts4.1/index.d.ts CHANGED
@@ -254,6 +254,7 @@ export type TransProps<
254
254
  children?: React.ReactNode;
255
255
  components?: readonly React.ReactNode[] | { readonly [tagName: string]: React.ReactNode };
256
256
  count?: number;
257
+ context?: string;
257
258
  defaults?: string;
258
259
  i18n?: i18n;
259
260
  i18nKey?: K | K[];