• This project
    • Loading...
  • Sign in

HyeonJun Jeon / Extended-Calendar

%ea%b7%b8%eb%a6%bc1
Go to a project
Toggle navigation Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Snippets
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • Extended-Calendar
  • src
  • components
  • Grid.js
  • HyeonJun Jeon's avatar
    [Implement] Header component, Calendar grid · 7631ddab
    7631ddab
    HyeonJun Jeon authored 2022-05-25 03:49:57 +0900
Grid.js 423 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
import "../styles/Grid.css";
import GridHead from "./GridHead.js";
import GridRow from "./GridRow.js";

import React from "react";

const Grid = () => {
  const renderRows = () => {
    const rows = [];
    for (let i = 0; i < 5; i++) {
      rows.push(<GridRow key={i} />);
    }
    return rows;
  };

  return (
    <div className="Grid">
      <GridHead />
      {renderRows()}
    </div>
  );
};

export default Grid;