11 lines
339 B
TypeScript
11 lines
339 B
TypeScript
import { ReferenceField, Show, SimpleShowLayout, TextField } from 'react-admin';
|
|||
|
|
|
||
|
|
export const AlbumShow = () => (
|
||
|
|
<Show>
|
||
|
|
<SimpleShowLayout>
|
||
|
|
<ReferenceField source="userId" reference="users" />
|
||
|
|
<TextField source="id" />
|
||
|
|
<TextField source="title" />
|
||
|
|
</SimpleShowLayout>
|
||
|
|
</Show>
|
||
|
|
);
|