From 1800ada7d05312b79afbc0bf1c8644ac187d72ee Mon Sep 17 00:00:00 2001 From: toir-bot Date: Mon, 13 Apr 2026 11:45:57 +0000 Subject: [PATCH] feat: add generated code: frontend/src/resources/equipment/EquipmentStatusSelectInput.tsx --- .../equipment/EquipmentStatusSelectInput.tsx | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 frontend/src/resources/equipment/EquipmentStatusSelectInput.tsx diff --git a/frontend/src/resources/equipment/EquipmentStatusSelectInput.tsx b/frontend/src/resources/equipment/EquipmentStatusSelectInput.tsx new file mode 100644 index 0000000..8adcd86 --- /dev/null +++ b/frontend/src/resources/equipment/EquipmentStatusSelectInput.tsx @@ -0,0 +1,12 @@ +import { SelectInput } from 'react-admin'; + +const equipmentStatusChoices = [ + { id: 'Active', name: 'В эксплуатации' }, + { id: 'Repair', name: 'В ремонте' }, + { id: 'Reserve', name: 'В резерве' }, + { id: 'WriteOff', name: 'Списано' }, +]; + +export const EquipmentStatusSelectInput = (props: any) => ( + +); \ No newline at end of file