feat: add generated code: frontend/src/resources/equipment/EquipmentStatusSelectInput.tsx

This commit is contained in:
2026-04-13 11:45:57 +00:00
parent cfb86e7175
commit 1800ada7d0

View File

@@ -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) => (
<SelectInput choices={equipmentStatusChoices} {...props} />
);