//@flow import React from "react"; import type { Plugin } from "@scm-manager/ui-types"; import { CardColumn } from "@scm-manager/ui-components"; import PluginAvatar from "./PluginAvatar"; type Props = { plugin: Plugin }; class PluginEntry extends React.Component { createAvatar = (plugin: Plugin) => { return ; }; createFooterLeft = (plugin: Plugin) => { return {plugin.author}; }; createFooterRight = (plugin: Plugin) => { return

{plugin.version}

; }; render() { const { plugin } = this.props; const avatar = this.createAvatar(plugin); const footerLeft = this.createFooterLeft(plugin); const footerRight = this.createFooterRight(plugin); // TODO: Add link to plugin page below return ( ); } } export default PluginEntry;