Passed
Push — develop ( b45185...d53e5c )
by Endre
05:03
created

Application   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 16
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
eloc 16
dl 0
loc 16
ccs 2
cts 2
cp 1
c 0
b 0
f 0
rs 10

1 Function

Rating   Name   Duplication   Size   Complexity  
A render 0 14 1
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
}