@sheet-i18n/react 1.5.2 → 1.5.3
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/README.md +4 -1
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -502,7 +502,10 @@ const App = () => {
|
|
|
502
502
|
return (
|
|
503
503
|
// StorageBasedIntlProvider automatically re-render
|
|
504
504
|
// if storage local data is changed
|
|
505
|
-
<StorageBasedIntlProvider
|
|
505
|
+
<StorageBasedIntlProvider
|
|
506
|
+
storageManager={localeStorageManager}
|
|
507
|
+
fallbackUI={<div>Loading...</div>} // optional
|
|
508
|
+
>
|
|
506
509
|
<YourApp />
|
|
507
510
|
</StorageBasedIntlProvider>
|
|
508
511
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sheet-i18n/react",
|
|
3
|
-
"version": "1.5.
|
|
3
|
+
"version": "1.5.3",
|
|
4
4
|
"description": "i18n client logic based on react",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -32,8 +32,8 @@
|
|
|
32
32
|
"@sheet-i18n/typescript-config": "1.8.1"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@sheet-i18n/react-core": "1.5.
|
|
36
|
-
"@sheet-i18n/react-client": "1.5.
|
|
35
|
+
"@sheet-i18n/react-core": "1.5.2",
|
|
36
|
+
"@sheet-i18n/react-client": "1.5.3"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "tsup",
|