import { MoveClassification } from "@/types/enums"; import { Box, Grid2 as Grid, Typography } from "@mui/material"; import MoveItem from "./moveItem"; interface Props { moves: { san: string; moveClassification?: MoveClassification }[]; moveNb: number; } export default function MovesLine({ moves, moveNb }: Props) { return ( {moveNb}. {moves[1] ? ( ) : ( )} ); }