moved config components in admin dir

This commit is contained in:
Florian Scholdei
2019-06-19 09:58:17 +02:00
parent 71c4967594
commit c5252da2ec
29 changed files with 80 additions and 32 deletions

View File

@@ -0,0 +1,30 @@
// @flow
import React from "react";
import { translate } from "react-i18next";
import { Title, Loading, ErrorNotification } from "@scm-manager/ui-components";
type Props = {
loading: boolean,
error: Error,
// context objects
t: string => string
};
class AdminDetails extends React.Component<Props> {
render() {
const { t, loading } = this.props;
if (loading) {
return <Loading />;
}
return (
<>Nothing special.</>
);
}
}
export default translate("admin")(AdminDetails);