re integrate @scm-manager/ui-types into @scm-manager/ui-components to reduce maven modules

This commit is contained in:
Sebastian Sdorra
2018-09-03 16:17:36 +02:00
parent 0a0fd7a261
commit 6a4f3a8cf6
79 changed files with 12913 additions and 480 deletions

View File

@@ -1,5 +1,6 @@
//@flow
import React from 'react';
import React from "react";
import { Image } from "@scm-manager/ui-components";
type Props = {
};
@@ -7,8 +8,7 @@ type Props = {
class GitAvatar extends React.Component<Props> {
render() {
// TODO we have to use Image from ui-components
return <img src="/scm/images/git-logo.png" alt="Git Logo" />;
return <Image src="/images/git-logo.png" alt="Git Logo" />;
}
}