RoomPresenter.js 456 Bytes
import React from "react";
import styled from "styled-components";
import Header from "../../Components/Header";
import RoomList from "../../Components/RoomList";

const Wrapper = styled.div`
  display: flex;
  flex-direction: column;
  width: 100%;
  justify-content: center;
  align-items: center;
`;

export default ({ location }) => {
  return (
    <Wrapper>
      <Header text={"KhuChat"}></Header>
      <RoomList></RoomList>
    </Wrapper>
  );
};