Skip to content

Commit

Permalink
Merge pull request #4 from Kikobeats/patch-2
Browse files Browse the repository at this point in the history
Use prop-types package
  • Loading branch information
vsubbotskyy authored Jun 19, 2017
2 parents 3b4c187 + 633c3b3 commit 04646e5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
},
"homepage": "https://github.com/vsubbotskyy/React-dotdotdot#readme",
"dependencies": {
"clamper": "1.0.2"
"clamper": "~1.0.2",
"prop-types": "~15.5.10"
},
"peerDependencies": {
"react": "^0.14.3",
Expand Down
2 changes: 1 addition & 1 deletion src/index.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
var React = require('react');
var ReactDOM = require('react-dom');
var clamp = require('clamper');
var PropTypes = React.PropTypes;
var PropTypes = require('prop-types');
/**
* multuline text-overflow: ellipsis
*/
Expand Down

0 comments on commit 04646e5

Please sign in to comment.