Skip to content

Commit a16b18b

Browse files
committed
Clear warnings on [email protected]
1 parent 692aa2c commit a16b18b

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

package.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,5 +32,8 @@
3232
"babel-preset-react": "^6.5.0",
3333
"babel-preset-stage-0": "^6.5.0",
3434
"webpack": "^1.13.0"
35+
},
36+
"dependencies": {
37+
"prop-types": "^15.5.8"
3538
}
3639
}

src/react-image-diff.js

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

34
const bgImage = 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAUAQMAAAC3R49OAAAABlBMVEX5+fn///8pDrwNAAAAFElEQVQI12NgsP/AQAz+f4CBGAwAJIIdTTn0+w0AAAAASUVORK5CYII=';
45

0 commit comments

Comments
 (0)