From 0afb3dd03d137b9f2e0f49ac36f71caec886ec59 Mon Sep 17 00:00:00 2001 From: toir-bot Date: Mon, 13 Apr 2026 18:42:50 +0000 Subject: [PATCH] feat: add generated code: frontend/src/resources/equipment/EquipmentList.tsx --- .../src/resources/equipment/EquipmentList.tsx | 28 +++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 frontend/src/resources/equipment/EquipmentList.tsx diff --git a/frontend/src/resources/equipment/EquipmentList.tsx b/frontend/src/resources/equipment/EquipmentList.tsx new file mode 100644 index 0000000..9a6b325 --- /dev/null +++ b/frontend/src/resources/equipment/EquipmentList.tsx @@ -0,0 +1,28 @@ +import { List, DataTable, TextField, DateField, EditButton, ShowButton } from 'react-admin'; +import { SelectField } from 'react-admin'; + +const equipmentStatusChoices = [ + { id: 'Active', name: 'В эксплуатации' }, + { id: 'Repair', name: 'В ремонте' }, + { id: 'Reserve', name: 'В резерве' }, + { id: 'WriteOff', name: 'Списано' }, +]; + +export const EquipmentList = () => ( + + + + + + + + } /> + + + + + + + + +); \ No newline at end of file