import * as React from "react"; import { Box } from "@mui/material"; import Grid from "@mui/material/Grid"; import { Typography } from "@mui/material"; import Button from "@mui/material/Button"; import TextField from "@mui/material/TextField"; import AddIcon from "@mui/icons-material/Add"; 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 Link from 'next/link'; import styles from '@/styles/PageTitle.module.css' import dynamic from 'next/dynamic' const RichTextEditor = dynamic(() => import('@mantine/rte'), { ssr: false, }) const CreateProduct = () => { const handleSubmit = (event) => { event.preventDefault(); const data = new FormData(event.currentTarget); console.log({ email: data.get("email"), password: data.get("password"), }); }; // Select dropdown const [categorySelect, setCategorySelect] = React.useState(''); const handleChange = (event) => { setCategorySelect(event.target.value); }; return ( <> {/* Page title */}