Skip to content

Commit e894858

Browse files
ellipse294ratson
authored andcommitted
Use prop-types (#32)
1 parent 4425508 commit e894858

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "react-intl-redux",
3-
"version": "0.4.1",
3+
"version": "0.4.2",
44
"description": "Redux binding for React Intl",
55
"main": "lib/index",
66
"scripts": {
@@ -16,6 +16,7 @@
1616
"react-redux": "^5.0.1"
1717
},
1818
"dependencies": {
19+
"prop-types": "^15.5.8",
1920
"warning": "^3.0.0"
2021
},
2122
"devDependencies": {

src/components/Provider.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
import {Provider as ReduxProvider} from 'react-redux'
2-
import React, {PropTypes} from 'react'
2+
import React from 'react'
3+
import PropTypes from 'prop-types';
34

45
import IntlProvider from './IntlProvider'
56

0 commit comments

Comments
 (0)