summaryrefslogtreecommitdiffstats
path: root/dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/editor/Editor.jsx
diff options
context:
space:
mode:
authorsvishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>2018-01-11 14:39:45 +0200
committersvishnev <shlomo-stanisla.vishnevetskiy@amdocs.com>2018-01-11 14:39:54 +0200
commit1eb66b78d3b1f1fc60a82ce6dbd16b12f2845e9a (patch)
treec21317aaef78791a35b48e102dce2a9b350d608a /dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/editor/Editor.jsx
parent16aeffbb7b864335075aa7159e5a997b173b5f80 (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/editor/Editor.jsx')
-rw-r--r--dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/editor/Editor.jsx11
1 files changed, 7 insertions, 4 deletions
diff --git a/dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/editor/Editor.jsx b/dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/editor/Editor.jsx
index 09703b84bf..00c8f7c47c 100644
--- a/dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/editor/Editor.jsx
+++ b/dox-sequence-diagram-ui/src/main/webapp/lib/ecomp/asdc/sequencer/components/editor/Editor.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 Logger from '../../common/Logger';
import Common from '../../common/Common';
import Designer from './components/designer/Designer';
@@ -25,7 +25,7 @@ import Source from './components/source/Source';
/**
* Editor view, aggregating the designer, the code editor, the toolbar.
*/
-export default class Editor extends React.Component {
+class Editor extends React.Component {
// ///////////////////////////////////////////////////////////////////////////////////////////////
@@ -167,5 +167,8 @@ export default class Editor extends React.Component {
/** Element properties. */
Editor.propTypes = {
- application: React.PropTypes.object.isRequired,
+ application: PropTypes.object.isRequired,
};
+
+export default Editor;
+