mirror of
https://github.com/kevinsqi/react-circular-progressbar.git
synced 2026-01-18 15:55:06 +00:00
update to use prop-types package instead of importing PropTypes from react
fixes #12
This commit is contained in:
parent
094780a60d
commit
fd6741a637
2950
docs/index.js
2950
docs/index.js
File diff suppressed because it is too large
Load Diff
@ -48,6 +48,9 @@
|
||||
"webpack": "^1.12.9",
|
||||
"webpack-dev-server": "^1.14.1"
|
||||
},
|
||||
"dependencies": {
|
||||
"prop-types": "^15.0.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"react": "^0.14.0 || ^15.0.0"
|
||||
}
|
||||
|
||||
@ -1,4 +1,5 @@
|
||||
import React, { PropTypes } from 'react';
|
||||
import React from 'react';
|
||||
import PropTypes from 'prop-types';
|
||||
|
||||
class CircularProgressbar extends React.Component {
|
||||
constructor(props) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user