Total Complexity | 1 |
Complexity/F | 1 |
Lines of Code | 29 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Coverage | 100% |
Changes | 0 |
1 | import React from 'react'; |
||
2 | import Style from '../../Style/Style'; |
||
3 | import ApplicationModel from './Application/ApplicationModel'; |
||
4 | import TopAppBar from './TopAppBar'; |
||
5 | |||
6 | interface IProperties { |
||
7 | model: ApplicationModel |
||
8 | } |
||
9 | |||
10 | interface IState { |
||
11 | } |
||
12 | |||
13 | export default class Application extends React.Component<IProperties, IState> { |
||
14 | render(): React.ReactNode { |
||
15 | 1 | const {model} = this.props; |
|
16 | 1 | return <React.Fragment> |
|
17 | <div className="mdc-typography"> |
||
18 | <Style source="Application" /> |
||
19 | <div className="content"> |
||
20 | <TopAppBar model={model.topAppBar} /> |
||
21 | <h3> |
||
22 | A new decade ... a new start ... 😉<br /><br /> |
||
23 | Hello from {model.text}! |
||
24 | </h3> |
||
25 | </div> |
||
26 | </div> |
||
27 | </React.Fragment>; |
||
28 | } |
||
29 | } |