We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent afce58f commit c08a601Copy full SHA for c08a601
package.json
@@ -41,6 +41,7 @@
41
"webpack-dev-server": "^1.10.1"
42
},
43
"peerDependencies": {
44
+ "prop-types": "^15.5.8",
45
"react": "^0.14.0 || ^15.0.0",
46
"react-dom": "^0.14.0 || ^15.0.0"
47
src/index.js
@@ -1,4 +1,5 @@
1
-import React, { Component, PropTypes } from 'react'
+import PropTypes from 'prop-types'
2
+import React, { Component } from 'react'
3
import trimCanvas from 'trim-canvas'
4
5
import Bezier from './bezier.js'
0 commit comments