Add defaultTransParent to react options. (#23109)

This commit is contained in:
Wichert Akkerman 2018-01-27 19:32:13 +01:00 committed by Andy
parent 0fd670e690
commit 4f48e84297

View File

@ -103,6 +103,11 @@ declare namespace i18next {
* set it to fallback to let passed namespaces to translated hoc act as fallbacks
*/
nsMode?: string;
/**
* set it to the default parent element created by the Trans component.
* @default div
*/
defaultTransParent?: string;
}
interface InitOptions {