prototype 1.0
This commit is contained in:
13
src/resources/banned-words/BannedWordList.tsx
Normal file
13
src/resources/banned-words/BannedWordList.tsx
Normal file
@@ -0,0 +1,13 @@
|
||||
import React from 'react';
|
||||
import { List, Datagrid, TextField, DateField, EditButton, TextInput } from 'react-admin';
|
||||
|
||||
export const BannedWordList = () => (
|
||||
<List filters={[<TextInput source="word" alwaysOn />]}>
|
||||
<Datagrid rowClick="edit">
|
||||
<TextField source="word" />
|
||||
<DateField source="added_at" />
|
||||
<TextField source="added_by" />
|
||||
<EditButton />
|
||||
</Datagrid>
|
||||
</List>
|
||||
);
|
||||
Reference in New Issue
Block a user