From 8e9c0653dd6c6862123c9609ae34e1206d86456e Mon Sep 17 00:00:00 2001
From: talig <talig@amdocs.com>
Date: Wed, 20 Dec 2017 14:30:43 +0200
Subject: Add collaboration feature

Issue-ID: SDC-767
Change-Id: I14fb4c1f54086ed03a56a7ff7fab9ecd40381795
Signed-off-by: talig <talig@amdocs.com>
---
 .../src/nfvo-components/datepicker/Datepicker.jsx  | 29 +++++++++++-----------
 1 file changed, 15 insertions(+), 14 deletions(-)

(limited to 'openecomp-ui/src/nfvo-components/datepicker/Datepicker.jsx')

diff --git a/openecomp-ui/src/nfvo-components/datepicker/Datepicker.jsx b/openecomp-ui/src/nfvo-components/datepicker/Datepicker.jsx
index f4673c1c93..25e7e7e02d 100644
--- a/openecomp-ui/src/nfvo-components/datepicker/Datepicker.jsx
+++ b/openecomp-ui/src/nfvo-components/datepicker/Datepicker.jsx
@@ -1,4 +1,5 @@
 import React from 'react';
+import PropTypes from 'prop-types';
 import DatePicker from 'react-datepicker';
 import moment from 'moment';
 import SVGIcon from 'sdc-ui/lib/react/SVGIcon.js';
@@ -6,10 +7,10 @@ import SVGIcon from 'sdc-ui/lib/react/SVGIcon.js';
 class CustomInput extends React.Component {
 
 	static propTypes = {
-		placeHolderText: React.PropTypes.string,
-		onChange: React.PropTypes.func,
-		onClick: React.PropTypes.func,
-		value: React.PropTypes.string
+		placeHolderText: PropTypes.string,
+		onChange: PropTypes.func,
+		onClick: PropTypes.func,
+		value: PropTypes.string
 	};
 
 	render() {
@@ -32,16 +33,16 @@ const parseDate = (date, format) => {
 
 class Datepicker extends React.Component {
 	static propTypes = {
-		date: React.PropTypes.oneOfType([React.PropTypes.string, React.PropTypes.number]),
-		format: React.PropTypes.string,
-		onChange: React.PropTypes.func,
-		selectsStart: React.PropTypes.bool,
-		selectsEnd: React.PropTypes.bool,
-		startDate: React.PropTypes.oneOfType([React.PropTypes.string, React.PropTypes.number]),
-		endDate: React.PropTypes.oneOfType([React.PropTypes.string, React.PropTypes.number]),
-		disabled: React.PropTypes.bool,
-		label: React.PropTypes.string,
-		isRequired: React.PropTypes.bool
+		date: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
+		format: PropTypes.string,
+		onChange: PropTypes.func,
+		selectsStart: PropTypes.bool,
+		selectsEnd: PropTypes.bool,
+		startDate: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
+		endDate: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
+		disabled: PropTypes.bool,
+		label: PropTypes.string,
+		isRequired: PropTypes.bool
 	}
 	render() {
 		let {date,  format, onChange, selectsStart = false, startDate = null, endDate = null, selectsEnd = false,
-- 
cgit 1.2.3-korg

