@nice2dev/i18n 1.0.29 → 1.1.5
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/dist/index.cjs +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.mjs +281 -39
- package/package.json +13 -13
package/dist/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
*/
|
|
14
14
|
|
|
15
15
|
import { default as default_2 } from 'react';
|
|
16
|
-
import { JSX
|
|
16
|
+
import { JSX } from 'react';
|
|
17
17
|
import { ReactNode } from 'react';
|
|
18
18
|
|
|
19
19
|
/**
|
|
@@ -227,7 +227,7 @@ export declare interface DynamicI18nContextValue {
|
|
|
227
227
|
/**
|
|
228
228
|
* Provider for dynamic i18n loading in React apps.
|
|
229
229
|
*/
|
|
230
|
-
export declare function DynamicI18nProvider({ children, loader, initialLanguage, namespace, }: DynamicI18nProviderProps):
|
|
230
|
+
export declare function DynamicI18nProvider({ children, loader, initialLanguage, namespace, }: DynamicI18nProviderProps): JSX.Element;
|
|
231
231
|
|
|
232
232
|
export declare interface DynamicI18nProviderProps {
|
|
233
233
|
children: ReactNode;
|
|
@@ -794,7 +794,7 @@ export declare interface PseudoLocalizationOptions {
|
|
|
794
794
|
* Provider for pseudo-localization in React apps.
|
|
795
795
|
* Useful for development/testing.
|
|
796
796
|
*/
|
|
797
|
-
export declare function PseudoLocalizationProvider({ children, initialEnabled, initialMode, }: PseudoLocalizationProviderProps):
|
|
797
|
+
export declare function PseudoLocalizationProvider({ children, initialEnabled, initialMode, }: PseudoLocalizationProviderProps): JSX.Element;
|
|
798
798
|
|
|
799
799
|
export declare interface PseudoLocalizationProviderProps {
|
|
800
800
|
children: ReactNode;
|