React Hook Form adapter for KoliBri - The accessible HTML-Standard.
npm install @public-ui/react-hook-form-adapterThis package provides simple facade components to combine
React Hook Form with the KoliBri
React components. Validation messages from React Hook Form are forwarded
to the KoliBri inputs automatically.
``bash`
npm i @public-ui/react-hook-form-adapter
`tsx
import { useForm } from 'react-hook-form';
import { KolInputTextController } from '@public-ui/react-hook-form-adapter';
const MyForm = () => {
const { control, handleSubmit } = useForm({
defaultValues: { firstName: '' },
});
return (