React Define Form
React define form offers alternative typescript bindings for react-final-form. It requires you to "define" a form type, specifying the type of the form data.
Installation
yarn add react-define-form
Usage
;; ;
For full API docs, you can look at react-final-form. The API for Form
and Fields.SOME_FIELD_NAME
in this module exactly match those of Form
, Field
and FormSpy
in react-final-form, except that for Field
, name
is already set for you and this module does not support parse/format/allowNulls (null
and undefined
are not special cased and you should use the empty string directly instead).
License
MIT