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

export const SubscriptionEdit = () => (
    <Edit>
        <SimpleForm>
            <TextInput source="user_id" disabled />
            <SelectInput source="status" choices={[
                { id: 'active', name: 'Active' },
                { id: 'expired', name: 'Expired' },
                { id: 'cancelled', name: 'Cancelled' },
            ]} />
        </SimpleForm>
    </Edit>
);