import React from 'react' import { useForm } from '../dist' import { mount } from './common' const Index: React.FC = () => { const { field, form } = useForm({ username: 'unicorn', password: '', }) return (
{ e.preventDefault() console.log(form) }} >

Simple

) } mount(Index)