mirror of
https://github.com/UA-Fediland/synapse-admin.git
synced 2025-11-22 08:01:36 +00:00
Add a room view
Change-Id: I20056d997e7a94fd10d03e7d1a8051030ecf7ca4
This commit is contained in:
parent
26cfa80bde
commit
1e6d43e291
4 changed files with 34 additions and 0 deletions
13
src/components/rooms.js
Normal file
13
src/components/rooms.js
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
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>
|
||||
);
|
||||
Loading…
Add table
Add a link
Reference in a new issue