mirror of
https://github.com/jjbrunton/Sauci.git
synced 2026-10-31 18:19:43 +00:00
Update
This commit is contained in:
1 parent
358c2be0ee
commit
b10eae1bf3
26 files changed
+2509
-53
No files matched your search
@@ -0,0 +1,21 @@
|
||||
import {
|
||||
List,
|
||||
Datagrid,
|
||||
TextField,
|
||||
DateField,
|
||||
TextInput,
|
||||
} from 'react-admin';
|
||||
|
||||
const coupleFilters = [
|
||||
<TextInput key="invite" label="Invite Code" source="invite_code" alwaysOn />,
|
||||
];
|
||||
|
||||
export const CoupleList = () => (
|
||||
<List filters={coupleFilters}>
|
||||
<Datagrid bulkActionButtons={false}>
|
||||
<TextField source="id" label="Couple ID" />
|
||||
<TextField source="invite_code" label="Invite Code" />
|
||||
<DateField source="created_at" label="Created" />
|
||||
</Datagrid>
|
||||
</List>
|
||||
);
|
||||
Reference in new issue
Block a user