Passed
Push — master ( 6fca9e...82ba0d )
by Huu-Phat
02:25 queued 10s
created

cms/src/error/components/base/Title.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 11
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
eloc 8
mnd 0
bc 0
fnc 1
dl 0
loc 11
ccs 1
cts 1
cp 1
bpm 0
cpm 1
noi 0
c 0
b 0
f 0
rs 10
1
import { styled } from '@material-ui/core/styles'
2
3 7
const Title = styled('h2')(({ theme }) => ({
4
  color: theme.colors.dark,
5
  fontSize: theme.fontSizes.XXXL,
6
  fontWeight: 700,
7
  textTransform: 'uppercase',
8
  margin: `${theme.spaces.xsmall}px`
9
}))
10
11
export default Title
12