antd-final-form
Simple declarative bindings for Ant Design and React Final Form.
Core Concept
This library enriches several Ant Design components with props that connects them to a Final-Form field. It is quite simple. Instead of importing your form components from antd, you need to import them from 'antd-final-form' and set their name
prop.
The Ant Design components are feature rich and provide a lot of props to customize their visual presentation. These features and also their apis stay exactly the same. Visit their documentation to learn more.
Example:
;;;; ;
Getting started
npm install antd-final-form
Add import "antd/dist/antd.css"
to your index.js
file.
Core Components
Name | Props | |
---|---|---|
✅ | Input | InputProps |
✅ | SubmitButton | ButtonProps |
Contributors ✨
Thanks goes to these wonderful people (emoji key):
Arif Hanif 💻 |
This project follows the all-contributors specification. Contributions of any kind welcome!