react-localization
Advanced tools
Comparing version 1.0.18 to 1.0.19
{ | ||
"name": "react-localization", | ||
"version": "1.0.18", | ||
"version": "1.0.19", | ||
"description": "Simple module to localize the React interface using the same syntax used in the ReactNativeLocalization module, use 'npm run build' before publishing", | ||
@@ -44,4 +44,4 @@ "scripts": { | ||
"peerDependencies": { | ||
"react": "^17.0.0 || ^16.0.0 || ^15.6.0" | ||
"react": "^18.0.0 || ^17.0.0 || ^16.0.0 || ^15.6.0" | ||
} | ||
} |
@@ -22,3 +22,3 @@ # react-localization | ||
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. | ||
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. | ||
@@ -25,0 +25,0 @@ ```js |
13705