Skip to content

Commit

Permalink
Merge pull request ReactTooltip#287 from ssilve1989/master
Browse files Browse the repository at this point in the history
Use prop-types package instead of React.PropTypes
  • Loading branch information
wwayne authored Apr 14, 2017
2 parents 987f463 + 762ccfe commit 7390730
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"react-dom": "^0.14.0 || ^15.0.0"
},
"dependencies": {
"classnames": "^2.2.0"
"classnames": "^2.2.0",
"prop-types": "^15.5.8"
},
"engines": {
"node": ">=4.2.1"
Expand Down
3 changes: 2 additions & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
'use strict'

import React, { Component, PropTypes } from 'react'
import React, { Component } from 'react'
import PropTypes from 'prop-types'
import ReactDOM from 'react-dom'
import classname from 'classnames'

Expand Down

0 comments on commit 7390730

Please sign in to comment.