<form>
<input
type="text"
value={dataForm.firstName}
onChange={(e) => setDataForm({ ...dataForm, firstName: e.target.value })}
/>
<input
type="text"
value={dataForm.lastName}
onChange={(e) => setDataForm({ ...dataForm, lastName: e.target.value })}
/>
...
</form>