summaryrefslogtreecommitdiffstats
path: root/src/app/tierSupport
diff options
context:
space:
mode:
Diffstat (limited to 'src/app/tierSupport')
-rw-r--r--src/app/tierSupport/TierSupport.jsx17
-rw-r--r--src/app/tierSupport/launchExternalResource/LaunchExternalResource.jsx3
-rw-r--r--src/app/tierSupport/selectedNodeDetails/SelectedNodeDetails.jsx7
3 files changed, 15 insertions, 12 deletions
diff --git a/src/app/tierSupport/TierSupport.jsx b/src/app/tierSupport/TierSupport.jsx
index a081964..5608cd3 100644
--- a/src/app/tierSupport/TierSupport.jsx
+++ b/src/app/tierSupport/TierSupport.jsx
@@ -19,6 +19,7 @@
* ============LICENSE_END=========================================================
*/
import React, {Component} from 'react';
+import { PropTypes } from 'prop-types';
import {connect} from 'react-redux';
import SplitPane from 'react-split-pane';
import Spinner from 'utils/SpinnerContainer.jsx';
@@ -125,14 +126,14 @@ let mapActionToProps = (dispatch) => {
class TierSupport extends Component {
static propTypes = {
- forceDirectedGraphRawData: React.PropTypes.object,
- windowWidth: React.PropTypes.number,
- windowHeight: React.PropTypes.number,
- graphNodeSelectedMenu: React.PropTypes.string,
- feedbackMsgText: React.PropTypes.string,
- feedbackMsgSeverity: React.PropTypes.string,
- nodeData: React.PropTypes.object,
- enableBusyFeedback: React.PropTypes.bool
+ forceDirectedGraphRawData: PropTypes.object,
+ windowWidth: PropTypes.number,
+ windowHeight: PropTypes.number,
+ graphNodeSelectedMenu: PropTypes.string,
+ feedbackMsgText: PropTypes.string,
+ feedbackMsgSeverity: PropTypes.string,
+ nodeData: PropTypes.object,
+ enableBusyFeedback: PropTypes.bool
};
componentWillReceiveProps(nextProps) {
diff --git a/src/app/tierSupport/launchExternalResource/LaunchExternalResource.jsx b/src/app/tierSupport/launchExternalResource/LaunchExternalResource.jsx
index 4e8cec3..d132d3d 100644
--- a/src/app/tierSupport/launchExternalResource/LaunchExternalResource.jsx
+++ b/src/app/tierSupport/launchExternalResource/LaunchExternalResource.jsx
@@ -19,6 +19,7 @@
* ============LICENSE_END=========================================================
*/
import {connect} from 'react-redux';
+import { PropTypes } from 'prop-types';
import React, {Component} from 'react';
import {isEmpty} from 'lodash';
import Button from 'react-bootstrap/lib/Button.js';
@@ -33,7 +34,7 @@ let mapStateToProps = ({tierSupport: {launchExternalResourceReducer}}) => {
class LaunchExternalResource extends Component {
static propTypes = {
- externalResourcePayload: React.PropTypes.object
+ externalResourcePayload: PropTypes.object
};
render() {
diff --git a/src/app/tierSupport/selectedNodeDetails/SelectedNodeDetails.jsx b/src/app/tierSupport/selectedNodeDetails/SelectedNodeDetails.jsx
index 5750fd9..6ff0e53 100644
--- a/src/app/tierSupport/selectedNodeDetails/SelectedNodeDetails.jsx
+++ b/src/app/tierSupport/selectedNodeDetails/SelectedNodeDetails.jsx
@@ -20,6 +20,7 @@
*/
import {connect} from 'react-redux';
import React, {Component} from 'react';
+import { PropTypes } from 'prop-types';
import Table from 'react-bootstrap/lib/Table';
import LaunchInContext from 'app/tierSupport/launchExternalResource/LaunchExternalResource.jsx';
import i18n from 'utils/i18n/i18n';
@@ -41,9 +42,9 @@ let mapStateToProps = ({tierSupport: {selectedNodeDetails}}) => {
export class SelectedNodeDetails extends Component {
static propTypes = {
- nodeData: React.PropTypes.object,
- nodeType: React.PropTypes.string,
- uid: React.PropTypes.string
+ nodeData: PropTypes.object,
+ nodeType: PropTypes.string,
+ uid: PropTypes.string
};
render() {