react-localization 1.0.18 → 1.0.19

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. package/README.md +1 -1
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -19,7 +19,7 @@ It's possible to force a language different from the interface one.
19
19
 
20
20
  ## Usage
21
21
 
22
- In the React class that you want to localize require the library and define the strings object passing to the constructor a simple object containing a language key (i.e. en, it, fr..) and then a list of key-value pairs with the needed localized strings.
22
+ In the React class that you want to localize, require the library and define the strings object passing to the constructor a simple object containing a language key (i.e. en, it, fr..) and then a list of key-value pairs with the needed localized strings.
23
23
 
24
24
  ```js
25
25
  // ES6 module syntax
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "react-localization",
3
- "version": "1.0.18",
3
+ "version": "1.0.19",
4
4
  "description": "Simple module to localize the React interface using the same syntax used in the ReactNativeLocalization module, use 'npm run build' before publishing",
5
5
  "scripts": {
6
6
  "babel-version": "babel --version",
@@ -41,6 +41,6 @@
41
41
  "localized-strings": "^0.2.0"
42
42
  },
43
43
  "peerDependencies": {
44
- "react": "^17.0.0 || ^16.0.0 || ^15.6.0"
44
+ "react": "^18.0.0 || ^17.0.0 || ^16.0.0 || ^15.6.0"
45
45
  }
46
46
  }