xuegao | 19e628c | 2019-06-27 17:41:01 +0200 | [diff] [blame] | 1 | /*- |
| 2 | * ============LICENSE_START======================================================= |
| 3 | * ONAP CLAMP |
| 4 | * ================================================================================ |
| 5 | * Copyright (C) 2019 AT&T Intellectual Property. All rights |
| 6 | * reserved. |
| 7 | * ================================================================================ |
| 8 | * Licensed under the Apache License, Version 2.0 (the "License"); |
| 9 | * you may not use this file except in compliance with the License. |
| 10 | * You may obtain a copy of the License at |
| 11 | * |
| 12 | * http://www.apache.org/licenses/LICENSE-2.0 |
| 13 | * |
| 14 | * Unless required by applicable law or agreed to in writing, software |
| 15 | * distributed under the License is distributed on an "AS IS" BASIS, |
| 16 | * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 17 | * See the License for the specific language governing permissions and |
| 18 | * limitations under the License. |
| 19 | * ============LICENSE_END============================================ |
| 20 | * =================================================================== |
| 21 | * |
| 22 | */ |
| 23 | |
| 24 | import React from 'react'; |
sebdet | e44fdb1 | 2019-07-12 12:25:56 +0200 | [diff] [blame] | 25 | import LoopUI from './LoopUI' |
sebdet | c8d6130 | 2019-07-04 15:50:34 +0200 | [diff] [blame] | 26 | import { ThemeProvider } from 'styled-components'; |
| 27 | import { DefaultClampTheme } from './theme/globalStyle.js'; |
xuegao | 19e628c | 2019-06-27 17:41:01 +0200 | [diff] [blame] | 28 | |
sebdet | c8d6130 | 2019-07-04 15:50:34 +0200 | [diff] [blame] | 29 | export default class OnapClamp extends LoopUI { |
| 30 | |
xuegao | 19e628c | 2019-06-27 17:41:01 +0200 | [diff] [blame] | 31 | render() { |
sebdet | 5f6c178 | 2019-07-18 15:23:13 +0200 | [diff] [blame] | 32 | console.info("Onap Clamp UI starting"); |
xuegao | 19e628c | 2019-06-27 17:41:01 +0200 | [diff] [blame] | 33 | return ( |
sebdet | c8d6130 | 2019-07-04 15:50:34 +0200 | [diff] [blame] | 34 | <ThemeProvider theme={DefaultClampTheme}> |
| 35 | {super.render()} |
| 36 | </ThemeProvider>); |
xuegao | 19e628c | 2019-06-27 17:41:01 +0200 | [diff] [blame] | 37 | } |
| 38 | } |
| 39 | |