ChannelPresenter.js 468 Bytes
import React from "react";
import styled from "styled-components";
import Header from "../../Components/Header";
import ChannelList from "../../Components/ChannelList";

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>
      <ChannelList></ChannelList>
    </Wrapper>
  );
};