import React from 'react' import ReactDOM from 'react-dom' import { useForm } from '../dist' const Index: React.FC = () => { const { field, form, errors } = useForm({ username: 'unicorn', password: '', }) return (