import { SelectField } from 'react-admin';

const equipmentStatusChoices = [
  { id: 'Active', name: 'В эксплуатации' },
  { id: 'Repair', name: 'В ремонте' },
  { id: 'Reserve', name: 'В резерве' },
  { id: 'WriteOff', name: 'Списано' },
];

export const EquipmentStatusSelectField = (props: any) => (
  <SelectField choices={equipmentStatusChoices} {...props} />
);