From 6b408bc2ea74ffbe3985c7f90211e59a2f00fad2 Mon Sep 17 00:00:00 2001
From: "Arul.Nambi" <arul.nambi@amdocs.com>
Date: Wed, 5 Sep 2018 14:44:15 -0400
Subject: Upgrade to react 16

Issue-ID: AAI-1576
Change-Id: I2a3035c7922ccabdca446e76341adf6ca8785155
Signed-off-by: Arul.Nambi <arul.nambi@amdocs.com>
---
 .../confirmations/ConfirmationModalView.jsx                   | 11 ++++++-----
 1 file changed, 6 insertions(+), 5 deletions(-)

(limited to 'src/generic-components/confirmations/ConfirmationModalView.jsx')

diff --git a/src/generic-components/confirmations/ConfirmationModalView.jsx b/src/generic-components/confirmations/ConfirmationModalView.jsx
index b97c2d4..39fea97 100644
--- a/src/generic-components/confirmations/ConfirmationModalView.jsx
+++ b/src/generic-components/confirmations/ConfirmationModalView.jsx
@@ -19,6 +19,7 @@
  * ============LICENSE_END=========================================================
  */
 import React from 'react';
+import { PropTypes } from 'prop-types';
 import Button from 'react-bootstrap/lib/Button.js';
 
 import i18n from 'utils/i18n/i18n.js';
@@ -35,11 +36,11 @@ let typeClass = {
 class ConfirmationModalView extends React.Component {
 		
 		static propTypes = {
-				show: React.PropTypes.bool,
-				type: React.PropTypes.oneOf(['default', 'error', 'warning', 'success']),
-				msg: React.PropTypes.node,
-				title: React.PropTypes.string,
-				confirmationDetails: React.PropTypes.object
+				show: PropTypes.bool,
+				type: PropTypes.oneOf(['default', 'error', 'warning', 'success']),
+				msg: PropTypes.node,
+				title: PropTypes.string,
+				confirmationDetails: PropTypes.object
 		};
 		
 		static defaultProps = {
-- 
cgit 1.2.3-korg

