diff options
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; |