link-stack/apps/metamigo-frontend/components/whatsapp/bots/WhatsappBotList.tsx
2023-03-14 17:40:24 +00:00

22 lines
508 B
TypeScript

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;