Rev 9682 | Rev 9688 | Ir a la última revisión | Autoría | Comparar con el anterior | Ultima modificación | Ver Log |
import React from 'react'import { useForm } from 'react-hook-form'import axios from 'axios'const FormView = ({ actionLink }) => {const { handleSubmit } = useForm()return (<section className="content"><div className="row" ><div className="col-xs-12 col-md-12"><form onSubmit={handleSubmit}><div className="form-group"><label>Nombre</label><input type="text" name="name" className="form-control" /></div></form></div></div></section>)}export default FormView