WIP: Adding entity crud to front

This commit is contained in:
2025-04-18 16:00:44 +02:00
parent fc5c63fe87
commit 155a5edd7d
5 changed files with 88 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
import { CrudForm } from "../../../lib/crud/components/crud-form";
import { UiSchema } from "@rjsf/utils";
type NewProps = {
resource: string,
schemaName: string,
uiSchema?: UiSchema,
}
const New = (props: NewProps) => {
const { schemaName, resource, uiSchema } = props;
return (
<CrudForm
schemaName={schemaName}
uiSchema={uiSchema}
resource={resource}
/>
)
}
export default New;