add selector for createPermission and show create dummy in uiC

This commit is contained in:
Maren Süwer
2018-08-28 16:28:56 +02:00
parent 20af5fe9b6
commit 6e54b054c1
4 changed files with 90 additions and 34 deletions

View File

@@ -0,0 +1,33 @@
// @flow
import React from "react";
import type { Permission } from "../types/Permissions";
import { translate } from "react-i18next";
type Props = {
t: string => string
};
type State = {
permission: Permission
};
class CreatePermissionForm extends React.Component<Props, State> {
constructor(props: Props) {
super(props);
this.state = {
permission: {
name: "",
type: "READ",
groupPermission: false,
_links: {}
}
};
}
render() {
return "Show Permissions here!";
}
}
export default translate("permissions")(CreatePermissionForm);