link-stack/apps/link/metamigo-add/_components/webhooks/WebhookList.tsx

19 lines
505 B
TypeScript
Raw Normal View History

2023-06-28 12:55:24 +00:00
"use client";
2023-03-15 12:17:43 +00:00
import { List, Datagrid, DateField, TextField, ListProps } from "react-admin";
2023-02-13 12:41:30 +00:00
import { BackendIdField } from "./shared";
const WebhookList = (props: ListProps) => (
<List {...props} exporter={false}>
<Datagrid rowClick="edit">
<TextField source="name" />
<TextField source="backendType" />
<BackendIdField source="backendId" />
<DateField source="createdAt" />
<DateField source="updatedAt" />
</Datagrid>
</List>
);
export default WebhookList;