import {
  List,
  Datagrid,
  DateField,
  TextField,
  BooleanField,
} from "react-admin";

const WhatsappBotList = (props: any) => (
  <List {...props} exporter={false}>
    <Datagrid rowClick="show">
      <TextField source="phoneNumber" />
      <TextField source="description" />
      <BooleanField source="isVerified" />
      <DateField source="createdAt" />
      <DateField source="updatedAt" />
      <TextField source="createdBy" />
    </Datagrid>
  </List>
);

export default WhatsappBotList;
