12 lines
292 B
TypeScript
12 lines
292 B
TypeScript
import { Edit, ReferenceInput, SimpleForm, TextInput } from "react-admin";
|
|
|
|
export const AlbumEdit = () => (
|
|
<Edit>
|
|
<SimpleForm>
|
|
<ReferenceInput source="userId" reference="users" />
|
|
<TextInput source="id" />
|
|
<TextInput source="title" />
|
|
</SimpleForm>
|
|
</Edit>
|
|
);
|