import React from "react";

import { getInitialValues, getValidationSchema } from "../formUtil";
import FormPage from "../../../Layout/Dashboard/FormPage";
import CreateForm from "./Form";

const CreateProduct = () => {
  const handleSubmit = (values: any) => {};

  return (
    // <div>

    // </div>
    <div className="AddPage">
      <header>إضافة طالب</header>
      <main>
        <header> تفاصيل الطالب </header>
        <FormPage
          handleSubmit={handleSubmit}
          initialValues={getInitialValues([])}
          validationSchema={getValidationSchema}
        >
          <CreateForm />
        </FormPage>
      </main>
    </div>
  );
};

export default CreateProduct;
