Skip to content

Commit 0cae6ce

Browse files
joshbeckmansimeg
authored andcommitted
1 parent 84755ce commit 0cae6ce

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

DateTime.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,14 @@
11
'use strict';
22

33
var assign = require('object-assign'),
4+
PropTypes = require('prop-types'),
45
createClass = require('create-react-class'),
56
moment = require('moment'),
67
React = require('react'),
78
CalendarContainer = require('./src/CalendarContainer')
89
;
910

10-
var TYPES = React.PropTypes;
11+
var TYPES = PropTypes;
1112
var Datetime = createClass({
1213
propTypes: {
1314
// value: TYPES.object | TYPES.string,

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -78,6 +78,7 @@
7878
"dependencies": {
7979
"create-react-class": "^15.5.2",
8080
"object-assign": "^3.0.0",
81+
"prop-types": "^15.5.7",
8182
"react-onclickoutside": "^5.9.0"
8283
},
8384
"pre-commit": [

0 commit comments

Comments
 (0)