1 minute read

Tags: ,

終於看到日文拉!!!

import { Grid } from "@mui/material";
import React from "react";

//
// IMPORT ZONE
//

const Day07 = () => {
  const aiueolist = [
    { name: "", roots: "a", words: ["", "", "", "", "", ""] },
    { name: "", roots: "k", words: ["", "", "", "", "", ""] },
    { name: "", roots: "s", words: ["", "", "", "", "", ""] },
    { name: "", roots: "t", words: ["", "", "", "", "", ""] },
    { name: "", roots: "n", words: ["", "", "", "", "", ""] },
    { name: "", roots: "h", words: ["", "", "", "", "", ""] },
    { name: "", roots: "m", words: ["", "", "", "", "", ""] },
    { name: "", roots: "y", words: ["", "", "", "", "", ""] },
    { name: "", roots: "r", words: ["", "", "", "", "", ""] },
    { name: "", roots: "w", words: ["", "", "", "", "", ""] },
    { name: "", roots: "n", words: ["", "", "", "", "", ""] },
  ];

  return (
    <Grid
      container
      spacing=
      style=
    >
      <Grid item xs={12}>
        <h1>Day 07 a i u e o</h1>
      </Grid>
      {aiueolist.map((d) => (
        <Grid container direction="row" justifyContent="center">
          <Grid item xs={1}>
            ({d.roots})
          </Grid>
          <Grid item xs={1}>
            {d.name} 
          </Grid>
          {d.words.map((w) => (
            <Grid item xs={1}>
              {w}
            </Grid>
          ))}
        </Grid>
      ))}
    </Grid>
  );
};

export default Day07;

Reference