From c7990306113fefd9ff3fde177507372adff78806 Mon Sep 17 00:00:00 2001 From: toir-bot Date: Mon, 13 Apr 2026 11:54:40 +0000 Subject: [PATCH] feat: add generated code: frontend/src/resources/equipment/EquipmentList.tsx --- .../src/resources/equipment/EquipmentList.tsx | 26 +++++++++++++++++++ 1 file changed, 26 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..e37f372 --- /dev/null +++ b/frontend/src/resources/equipment/EquipmentList.tsx @@ -0,0 +1,26 @@ +import { List, DataTable, TextField, DateField, SelectField, EditButton, ShowButton } 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