created Components directory

This commit is contained in:
2025-01-16 13:47:21 +01:00
parent 29faa6cc30
commit 261d957dbd
10 changed files with 17 additions and 15 deletions

View File

@@ -0,0 +1,14 @@
import { Edit, ReferenceInput, SimpleForm, TextInput } from 'react-admin';
export const CommentEdit = () => (
<Edit>
<SimpleForm>
<ReferenceInput source="postId" reference="posts" />
<TextInput source="id" />
<TextInput source="name" />
<TextInput source="email" />
<TextInput source="body" />
</SimpleForm>
</Edit>
);