Total Complexity | 2 |
Complexity/F | 2 |
Lines of Code | 20 |
Function Count | 1 |
Duplicated Lines | 0 |
Ratio | 0 % |
Coverage | 100% |
Changes | 0 |
1 | import React from 'react'; |
||
2 | import Model from './Page/Model'; |
||
3 | |||
4 | interface IProperties { |
||
5 | model: Model |
||
6 | } |
||
7 | |||
8 | interface IState { |
||
9 | |||
10 | } |
||
11 | |||
12 | export default class Page extends React.Component<IProperties, IState> { |
||
13 | render(): React.ReactElement { |
||
14 | 2 | return <div className="mdc-drawer-app-content mdc-top-app-bar--fixed-adjust"> |
|
15 | <main className="main-content" id="main-content"> |
||
16 | {this.props.model.module != null ? <this.props.model.module /> : <div>Loading...</div>} |
||
17 | </main> |
||
18 | </div>; |
||
19 | } |
||
20 | } |