ES6 Plato on Github
Report Home
Summary Display
components/Logbook/List/CategoryIcon.js
Maintainability
83.34
Lines of code
13
Difficulty
7.85
Estimated Errors
0.05
Function weight
By Complexity
By SLOC
import React from 'react'; import { getEventIcon } from '../../../helpers/EventHelpers'; class CategoryIcon extends React.Component { render() { return (<div className='pull-left' style={{ paddingRight: '8px' }}> {getEventIcon(this.props.category, "14")} </div>) } } export default CategoryIcon;