"use client";

import { FC } from "react";
import { SimpleForm, Edit, TextInput, required, EditProps } from "react-admin";

const SignalBotEdit: FC<EditProps> = (props) => (
  <Edit {...props} title="Edit Bot">
    <SimpleForm>
      <TextInput disabled source="phoneNumber" validate={[required()]} />
      <TextInput source="description" />
    </SimpleForm>
  </Edit>
);

export default SignalBotEdit;
