Skip to content

Commit 2f47a71

Browse files
authored
Merge pull request #66 from davidfurlong/patch-1
Use prop-types package
2 parents 193c01c + a9460d1 commit 2f47a71

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

Diff for: modules/Media.js

+2-1
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
const queryType = PropTypes.oneOfType([

Diff for: package.json

+1
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)