import React from "react"; import { Box } from "@mui/material"; import Card from "@mui/material/Card"; import { Typography } from "@mui/material"; import InputLabel from "@mui/material/InputLabel"; import MenuItem from "@mui/material/MenuItem"; import FormControl from "@mui/material/FormControl"; import Select from "@mui/material/Select"; import Grid from "@mui/material/Grid"; import Button from "@mui/material/Button"; const TopInstructorData = [ { id: "1", image: "/images/user9.png", name: "Melanie Grutt", userName: "@melgrutt", }, { id: "2", image: "/images/user10.png", name: "Theron Trump", userName: "@therontrump", }, { id: "3", image: "/images/user11.png", name: "Johen Mark", userName: "@johenmark", }, { id: "4", image: "/images/user12.png", name: "Nicholas Tanner", userName: "@nilyeager", }, { id: "5", image: "/images/user13.png", name: "Tyler Mark", userName: "@tylemark", }, { id: "6", image: "/images/user14.png", name: "Martina Albart", userName: "@martina", }, ]; const TopInstructor = () => { // Select Form const [select, setSelect] = React.useState(""); const handleChange = (event) => { setSelect(event.target.value); }; return ( <> Top Instructor Select {TopInstructorData.map((instructor) => ( Image {instructor.name} {instructor.userName} ))} ); }; export default TopInstructor;