We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 84755ce commit 0cae6ceCopy full SHA for 0cae6ce
DateTime.js
@@ -1,13 +1,14 @@
1
'use strict';
2
3
var assign = require('object-assign'),
4
+ PropTypes = require('prop-types'),
5
createClass = require('create-react-class'),
6
moment = require('moment'),
7
React = require('react'),
8
CalendarContainer = require('./src/CalendarContainer')
9
;
10
-var TYPES = React.PropTypes;
11
+var TYPES = PropTypes;
12
var Datetime = createClass({
13
propTypes: {
14
// value: TYPES.object | TYPES.string,
package.json
@@ -78,6 +78,7 @@
78
"dependencies": {
79
"create-react-class": "^15.5.2",
80
"object-assign": "^3.0.0",
81
+ "prop-types": "^15.5.7",
82
"react-onclickoutside": "^5.9.0"
83
},
84
"pre-commit": [
0 commit comments