@lingui/react
Advanced tools
Comparing version 3.4.0 to 3.5.0
@@ -1,6 +0,8 @@ | ||
import React, { FunctionComponent, ComponentType } from "react"; | ||
import React, { FunctionComponent, ComponentType, ReactNode } from "react"; | ||
import { I18n } from "@lingui/core"; | ||
export declare type I18nContext = { | ||
i18n: I18n; | ||
defaultComponent?: React.ReactElement<any, any> | null; | ||
defaultComponent?: ComponentType<{ | ||
children?: ReactNode; | ||
}>; | ||
}; | ||
@@ -7,0 +9,0 @@ export declare type withI18nProps = { |
{ | ||
"name": "@lingui/react", | ||
"version": "3.4.0", | ||
"version": "3.5.0", | ||
"description": "React components for translations", | ||
@@ -43,3 +43,3 @@ "main": "index.js", | ||
"@babel/runtime": "^7.11.2", | ||
"@lingui/core": "^3.4.0" | ||
"@lingui/core": "^3.5.0" | ||
}, | ||
@@ -46,0 +46,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
27451
363
Updated@lingui/core@^3.5.0