Passed
Push — master ( 9a73f0...7331d4 )
by Huu-Phat
01:50 queued 11s
created

cms/src/posts/components/Body/PostTableCell.js   A

Complexity

Total Complexity 1
Complexity/F 1

Size

Lines of Code 15
Function Count 1

Duplication

Duplicated Lines 0
Ratio 0 %

Test Coverage

Coverage 100%

Importance

Changes 0
Metric Value
wmc 1
eloc 11
mnd 0
bc 0
fnc 1
dl 0
loc 15
bpm 0
cpm 1
noi 0
c 0
b 0
f 0
ccs 1
cts 1
cp 1
rs 10
1
import { withStyles } from '@material-ui/core/styles'
2
import TableCell from '@material-ui/core/TableCell'
3
4 5
const PostTableCell = withStyles(theme => ({
5
  root: {
6
    width: '50%',
7
    cursor: 'pointer',
8
    whiteSpace: 'nowrap',
9
    '&:hover': {
10
      color: theme.colors.primary
11
    }
12
  }
13
}))(TableCell)
14
15
export default PostTableCell
16