react-i18nify
Advanced tools
Comparing version 1.11.2 to 1.11.3
{ | ||
"name": "react-i18nify", | ||
"version": "1.11.2", | ||
"version": "1.11.3", | ||
"description": "Simple i18n translation and localization components and helpers for React applications.", | ||
@@ -5,0 +5,0 @@ "main": "./build/index.js", |
@@ -76,3 +76,3 @@ # react-i18nify | ||
// => <span style="font-weight:bold;font-size:14px;">Toffe app met i18n!</span> | ||
<Translate value="application.hello" name="Aad"/> | ||
<Translate value="application.hello" name="Aad" /> | ||
// => <span>Hallo, Aad!</span> | ||
@@ -92,3 +92,3 @@ <Translate value="export" count={1} /> | ||
// => <div>3 september 2015</div> | ||
<Localize value={10/3} options={{style: 'currency', currency: 'EUR', minimumFractionDigits: 2, maximumFractionDigits: 2}}/> | ||
<Localize value={10/3} options={{style: 'currency', currency: 'EUR', minimumFractionDigits: 2, maximumFractionDigits: 2}} /> | ||
// => <span>€ 3,33</span> | ||
@@ -143,3 +143,3 @@ ``` | ||
```javascript | ||
const I18n = require('react-i18nify').I18n; | ||
const { I18n } = require('react-i18nify'); | ||
@@ -156,3 +156,3 @@ const locale = () => 'nl'; | ||
```javascript | ||
const I18n = require('react-i18nify').I18n; | ||
const { I18n } = require('react-i18nify'); | ||
@@ -159,0 +159,0 @@ const translation = () => ({ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16544