Skip to content
This repository has been archived by the owner on Dec 23, 2022. It is now read-only.

Commit

Permalink
Use prop-types lib instead of deprecated React.PropTypes (#100)
Browse files Browse the repository at this point in the history
  • Loading branch information
rsolomon authored and leMaik committed Apr 15, 2017
1 parent cfd1b78 commit 74e14af
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,5 +45,8 @@
"react": "^15.3.2",
"react-dom": "^15.3.2",
"react-tap-event-plugin": "^1.0.0 || ^2.0.0"
},
"dependencies": {
"prop-types": "^15.5.7"
}
}
3 changes: 2 additions & 1 deletion src/ChipInput.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@
* Notice: Some code was adapted from Material-UI's text field.
* Copyright (c) 2014 Call-Em-All (https://github.com/callemall/material-ui)
*/
import React, { PropTypes } from 'react'
import React from 'react'
import PropTypes from 'prop-types'
import TextFieldUnderline from 'material-ui/TextField/TextFieldUnderline'
import TextFieldHint from 'material-ui/TextField/TextFieldHint'
import TextFieldLabel from 'material-ui/TextField/TextFieldLabel'
Expand Down

0 comments on commit 74e14af

Please sign in to comment.