import React from "react"; import { Input } from 'antd' export function FormField({ label, name, value, onChange, autoFocus, errors, }: { label: string; name: string value: string; onChange: (e: React.ChangeEvent) => void; autoFocus?: boolean; errors?: string; }) { return (
{errors &&
{errors}
}
); } export default FormField;