diff options
author | svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com> | 2018-01-11 14:39:45 +0200 |
---|---|---|
committer | svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com> | 2018-01-11 14:39:54 +0200 |
commit | 1eb66b78d3b1f1fc60a82ce6dbd16b12f2845e9a (patch) | |
tree | c21317aaef78791a35b48e102dce2a9b350d608a /dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/diagram/Diagram.jsx | |
parent | 16aeffbb7b864335075aa7159e5a997b173b5f80 (diff) |
React version upgrade
Issue-ID: SDC-894
Change-Id: I7c200a4b0b1d09a8fec638906db4258cafe252b5
Signed-off-by: svishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>
Diffstat (limited to 'dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/diagram/Diagram.jsx')
-rw-r--r-- | dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/diagram/Diagram.jsx | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/diagram/Diagram.jsx b/dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/diagram/Diagram.jsx index a035e6c4a3..b3544d7066 100644 --- a/dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/diagram/Diagram.jsx +++ b/dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/diagram/Diagram.jsx @@ -1,5 +1,5 @@ /*! - * Copyright (C) 2017 AT&T Intellectual Property. All rights reserved. + * Copyright © 2016-2017 European Support Limited * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. @@ -15,6 +15,7 @@ */ import React from 'react'; +import PropTypes from 'prop-types'; import _template from 'lodash/template'; import _merge from 'lodash/merge'; import * as d3 from 'd3'; @@ -26,7 +27,7 @@ import Popup from './components/popup/Popup'; /** * SVG diagram view. */ -export default class Diagram extends React.Component { +class Diagram extends React.Component { // /////////////////////////////////////////////////////////////////////////////////////////////// @@ -918,5 +919,7 @@ export default class Diagram extends React.Component { Diagram.propTypes = { - application: React.PropTypes.object.isRequired, + application: PropTypes.object.isRequired, }; + +export default Diagram; |