21 lines
564 B
TypeScript
21 lines
564 B
TypeScript
import { type UseFormReturn } from "react-hook-form";
|
|
import { Table, TableBody } from "@common/components";
|
|
import type { MenuFormData } from "../model/menu-interface";
|
|
import { BaseTypeMenuForm } from "./base-type-menu-form";
|
|
|
|
function BottomMenuForm({ form }: { form: UseFormReturn<MenuFormData> }) {
|
|
return (
|
|
<Table variant="secondary">
|
|
<colgroup>
|
|
<col width="20%" />
|
|
<col width="80%" />
|
|
</colgroup>
|
|
<TableBody>
|
|
<BaseTypeMenuForm form={form} />
|
|
</TableBody>
|
|
</Table>
|
|
);
|
|
}
|
|
|
|
export { BottomMenuForm };
|