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

Style   A

Complexity

Total Complexity 1

Size/Duplication

Total Lines 4
Duplicated Lines 0 %

Test Coverage

Coverage 100%

Importance

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

1 Function

Rating   Name   Duplication   Size   Complexity  
A render 0 2 1
1
import React from 'react';
2
3
interface IProperties {
4
  source: string
5
}
6
7
interface IState {
8
}
9
10
export default class Style extends React.Component<IProperties, IState> {
11
  render() {
12 1
    return <link rel="stylesheet" href={'./Style/' + this.props.source + '.css'} />;
13
  }
14
}