Skip to content

Commit 7390730

Browse files
authored
Merge pull request #287 from ssilve1989/master
Use prop-types package instead of React.PropTypes
2 parents 987f463 + 762ccfe commit 7390730

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
@@ -43,7 +43,8 @@
4343
"react-dom": "^0.14.0 || ^15.0.0"
4444
},
4545
"dependencies": {
46-
"classnames": "^2.2.0"
46+
"classnames": "^2.2.0",
47+
"prop-types": "^15.5.8"
4748
},
4849
"engines": {
4950
"node": ">=4.2.1"

src/index.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
'use strict'
22

3-
import React, { Component, PropTypes } from 'react'
3+
import React, { Component } from 'react'
4+
import PropTypes from 'prop-types'
45
import ReactDOM from 'react-dom'
56
import classname from 'classnames'
67

0 commit comments

Comments
 (0)