mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-14 01:15:44 +01:00
23 lines
580 B
JavaScript
23 lines
580 B
JavaScript
|
|
//@flow
|
||
|
|
import React from "react";
|
||
|
|
import { ExtensionPoint } from "@scm-manager/ui-extensions";
|
||
|
|
import type { Plugin } from "@scm-manager/ui-types";
|
||
|
|
import { Image } from "@scm-manager/ui-components";
|
||
|
|
|
||
|
|
type Props = {
|
||
|
|
plugin: Plugin
|
||
|
|
};
|
||
|
|
|
||
|
|
export default class PluginAvatar extends React.Component<Props> {
|
||
|
|
render() {
|
||
|
|
const { plugin } = this.props;
|
||
|
|
return (
|
||
|
|
<p className="image is-64x64">
|
||
|
|
<ExtensionPoint name="plugins.plugin-avatar" props={{ plugin }}>
|
||
|
|
<Image src="/images/blib.jpg" alt="Logo" />
|
||
|
|
</ExtensionPoint>
|
||
|
|
</p>
|
||
|
|
);
|
||
|
|
}
|
||
|
|
}
|