import React, { SFC } from 'react'; import { Plugin } from 'app/types'; interface Props { plugin: Plugin; } const PluginListItem: SFC = props => { const { plugin } = props; return (
  • {plugin.type}
    {plugin.hasUpdate && (
    Update available!
    )}
    {plugin.name}
    {`By ${plugin.info.author.name}`}
  • ); }; export default PluginListItem;