All files / src/components icon.js

68.75% Statements 66/96
39.68% Branches 25/63
71.43% Functions 15/21
100% Lines 5/5

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 122x   2x   1x 1x       2x    
import React from 'react'EIIIIEEIEIEI
 
export default class Icon extends React.PureComponent {
  render () {
    const {className = '', type, ...props} = this.props
    return <i
      className={`fa fa-${type} fa-fw ${className}`}
      {...props}
    />
  }
}