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/application | |
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/application')
-rw-r--r-- | dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/application/Application.jsx | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/application/Application.jsx b/dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/application/Application.jsx index 63b82c03c9..6889e0ab9f 100644 --- a/dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/application/Application.jsx +++ b/dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/application/Application.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,7 +15,7 @@ */ import React from 'react'; - +import PropTypes from 'prop-types'; import Common from '../../common/Common'; import Logger from '../../common/Logger'; import Diagram from '../diagram/Diagram'; @@ -27,7 +27,7 @@ import Overlay from '../overlay/Overlay'; /** * Application controller, also a view. */ -export default class Application extends React.Component { +class Application extends React.Component { /** * Construct application view. @@ -278,6 +278,8 @@ export default class Application extends React.Component { /** React properties. */ Application.propTypes = { - options: React.PropTypes.object.isRequired, - sequencer: React.PropTypes.object.isRequired, + options: PropTypes.object.isRequired, + sequencer: PropTypes.object.isRequired, }; + +export default Application; |