created Components directory
This commit is contained in:
16
src/Components/UserEdit.tsx
Normal file
16
src/Components/UserEdit.tsx
Normal file
@@ -0,0 +1,16 @@
|
||||
import { Edit, SimpleForm, TextInput } from 'react-admin';
|
||||
|
||||
export const UserEdit = () => (
|
||||
<Edit>
|
||||
<SimpleForm>
|
||||
<TextInput source="id" />
|
||||
<TextInput source="name" />
|
||||
<TextInput source="username" />
|
||||
<TextInput source="email" />
|
||||
<TextInput source="address.street" />
|
||||
<TextInput source="phone" />
|
||||
<TextInput source="website" />
|
||||
<TextInput source="company.name" />
|
||||
</SimpleForm>
|
||||
</Edit>
|
||||
);
|
||||
Reference in New Issue
Block a user