import React from 'react';
import { Edit, SimpleForm, SelectInput, required } from 'react-admin';

export const ReportEdit = () => (
    <Edit>
        <SimpleForm>
            <SelectInput source="status" choices={[
                { id: 'pending', name: 'Pending' },
                { id: 'reviewed', name: 'Reviewed' },
                { id: 'dismissed', name: 'Dismissed' },
            ]} validate={required()} />
        </SimpleForm>
    </Edit>
);