Skip to content
This repository has been archived by the owner on May 20, 2019. It is now read-only.

Commit

Permalink
Removed deprecated use of PropTypes in react error message. (#7)
Browse files Browse the repository at this point in the history
  • Loading branch information
InJung Chung authored Jun 5, 2017
2 parents d3c5bd2 + b10c5c4 commit ae86711
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@
"node": ">= 5.11.0"
},
"dependencies": {
"prop-types": "^15.5.10",
"react": "^15.3.2",
"react-dom": "^15.3.2"
}
Expand Down
3 changes: 2 additions & 1 deletion src/Step.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { Component, PropTypes } from 'react';
import React, { Component } from 'react';
import { PropTypes } from 'prop-types';

export default class Step extends Component {
constructor() {
Expand Down
3 changes: 2 additions & 1 deletion src/Stepper.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import React, { PropTypes } from 'react';
import React from 'react';
import { PropTypes } from 'prop-types';

import Step from './Step';

Expand Down

0 comments on commit ae86711

Please sign in to comment.