import FormValidator from "../../../../utils/form-validator" import { NestedForm } from "../../../../utils/nested-form" import InputField from "../../../molecules/input" export type DimensionsFormType = { length: number | null width: number | null height: number | null weight: number | null } type DimensionsFormProps = { form: NestedForm } /** * Re-usable nested form used to submit dimensions information for products and their variants. * @example * */ const DimensionsForm = ({ form }: DimensionsFormProps) => { const { register, path, formState: { errors }, } = form return (
) } export default DimensionsForm