Skip to content

Commit 761d07f

Browse files
committed
Compatibility for [email protected]
1 parent 9cb0d2e commit 761d07f

8 files changed

+16
-9
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-intl-native",
3-
"version": "1.0.8",
3+
"version": "2.0.0",
44
"description": "Convenience components for react-intl's `format*` API in React Native",
55
"main": "dist/react-intl-native.js",
66
"jsnext:main": "dist/react-intl-native.es2015.js",
@@ -79,7 +79,7 @@
7979
"react": "^0.14.8",
8080
"react-addons-test-utils": "^0.14.8",
8181
"react-dom": "^0.14.8",
82-
"react-native": "^0.24.1",
82+
"react-native": "^0.25.1",
8383
"rimraf": "^2.5.2",
8484
"rollup-babel-lib-bundler": "^2.5.5"
8585
}

src/FormattedDate.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { PropTypes, Text } from 'react-native';
1+
import React, { PropTypes } from 'react';
2+
import { Text } from 'react-native';
23
import Intl from 'react-intl';
34

45
const FormattedDate = props => (

src/FormattedHTMLMessage.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { PropTypes, Text } from 'react-native';
1+
import React, { PropTypes } from 'react';
2+
import { Text } from 'react-native';
23
import Intl from 'react-intl';
34

45
const FormattedHTMLMessage = props => (

src/FormattedMessage.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { PropTypes, Text } from 'react-native';
1+
import React, { PropTypes } from 'react';
2+
import { Text } from 'react-native';
23
import Intl from 'react-intl';
34

45
const FormattedMessage = props => (

src/FormattedNumber.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { PropTypes, Text } from 'react-native';
1+
import React, { PropTypes } from 'react';
2+
import { Text } from 'react-native';
23
import Intl from 'react-intl';
34

45
const FormattedNumber = props => {

src/FormattedPlural.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { PropTypes, Text } from 'react-native';
1+
import React, { PropTypes } from 'react';
2+
import { Text } from 'react-native';
23
import Intl from 'react-intl';
34

45
const FormattedPlural = props => (

src/FormattedRelative.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { PropTypes, Text } from 'react-native';
1+
import React, { PropTypes } from 'react';
2+
import { Text } from 'react-native';
23
import Intl from 'react-intl';
34

45
const FormattedRelative = props => (

src/FormattedTime.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { PropTypes, Text } from 'react-native';
1+
import React, { PropTypes } from 'react';
2+
import { Text } from 'react-native';
23
import Intl from 'react-intl';
34

45
const FormattedTime = props => (

0 commit comments

Comments
 (0)