import classNames from 'classnames' import { FormItem } from '@/components/ui/Form' import type { PropsWithChildren } from 'react' import type { FormikTouched, FormikErrors } from 'formik' type FormRowProps = PropsWithChildren<{ label: string errors: FormikErrors touched: FormikTouched name: keyof T border?: boolean alignCenter?: boolean }> const FormRow = >(props: FormRowProps) => { const { label, children, errors, touched, name, border = true, alignCenter = true, } = props return (
{label}
{children}
) } export default FormRow