feat: add generated code: frontend/src/resources/equipment/EquipmentCreate.tsx
This commit is contained in:
14
frontend/src/resources/equipment/EquipmentCreate.tsx
Normal file
14
frontend/src/resources/equipment/EquipmentCreate.tsx
Normal file
@@ -0,0 +1,14 @@
|
||||
import { Create, SimpleForm, TextInput, DateInput } from 'react-admin';
|
||||
import { EquipmentStatusSelectInput } from './EquipmentStatusSelectInput';
|
||||
|
||||
export const EquipmentCreate = () => (
|
||||
<Create>
|
||||
<SimpleForm>
|
||||
<TextInput source="name" />
|
||||
<TextInput source="serialNumber" />
|
||||
<DateInput source="dateOfInspection" />
|
||||
<DateInput source="commissionedAt" />
|
||||
<EquipmentStatusSelectInput source="status" />
|
||||
</SimpleForm>
|
||||
</Create>
|
||||
);
|
||||
Reference in New Issue
Block a user