feat: add generated code: frontend/src/resources/equipment/EquipmentShow.tsx
This commit is contained in:
17
frontend/src/resources/equipment/EquipmentShow.tsx
Normal file
17
frontend/src/resources/equipment/EquipmentShow.tsx
Normal file
@@ -0,0 +1,17 @@
|
|||||||
|
import { Show, SimpleShowLayout, TextField, DateField } from 'react-admin';
|
||||||
|
import { EquipmentStatusSelectField } from './EquipmentStatusSelectField';
|
||||||
|
|
||||||
|
export const EquipmentShow = () => (
|
||||||
|
<Show>
|
||||||
|
<SimpleShowLayout>
|
||||||
|
<TextField source="id" />
|
||||||
|
<TextField source="name" />
|
||||||
|
<TextField source="serialNumber" />
|
||||||
|
<DateField source="dateOfInspection" />
|
||||||
|
<DateField source="commissionedAt" />
|
||||||
|
<EquipmentStatusSelectField source="status" />
|
||||||
|
<DateField source="createdAt" />
|
||||||
|
<DateField source="updatedAt" />
|
||||||
|
</SimpleShowLayout>
|
||||||
|
</Show>
|
||||||
|
);
|
||||||
Reference in New Issue
Block a user