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

Style.render   A

Complexity

Conditions 1

Size

Total Lines 2
Code Lines 2

Duplication

Lines 0
Ratio 0 %

Code Coverage

Tests 1
CRAP Score 1

Importance

Changes 0
Metric Value
eloc 2
dl 0
loc 2
ccs 1
cts 1
cp 1
c 0
b 0
f 0
rs 10
cc 1
crap 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
}