Skip to content

Commit 73c4a9e

Browse files
davidfurlongmjackson
authored andcommitted
Use prop-types package
1 parent 76531f7 commit 73c4a9e

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

modules/Media.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
import React, { PropTypes } from 'react'
1+
import React from 'react'
2+
import PropTypes from 'prop-types'
23
import json2mq from 'json2mq'
34

45
/**

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,7 @@
4848
"karma-webpack": "^2.0.1",
4949
"mocha": "^3.0.0",
5050
"pretty-bytes": "^4.0.2",
51+
"prop-types": "^15.5.10",
5152
"react": "^15.4.1 || ^0.14.7",
5253
"react-dom": "^15.3.0 || ^0.14.7",
5354
"readline-sync": "^1.4.4",

0 commit comments

Comments
 (0)