14 lines
344 B
JavaScript
14 lines
344 B
JavaScript
|
import React from "react";
|
||
|
import { Datagrid, List, TextField } from "react-admin";
|
||
|
|
||
|
export const RoomList = props => (
|
||
|
<List {...props}>
|
||
|
<Datagrid>
|
||
|
<TextField source="room_id" />
|
||
|
<TextField source="name" />
|
||
|
<TextField source="canonical_alias" />
|
||
|
<TextField source="joined_members" />
|
||
|
</Datagrid>
|
||
|
</List>
|
||
|
);
|