ES6 Plato on Github
Report Home
Summary Display
components/Logbook/List/EventIcon.js
Maintainability
93.13
Lines of code
15
Difficulty
5.40
Estimated Errors
0.04
Function weight
By Complexity
By SLOC
import React from 'react'; import CategoryIcon from './CategoryIcon.js'; /** * A basic event of the logbook */ class EventIcon extends React.Component { render() { return <CategoryIcon category={this.props.event.category}></CategoryIcon> } } export default EventIcon;