Components
Contact FormContact Form
Component
Usage Methods
- Pass the form data as a prop to customise the form with different data.
- Extract the form fields into an array or JSON file to make them dynamic and configurable.
- Accept a submit callback to delegate the submission logic externally.
- Allow an external validator to be passed in to validate form fields.
- Passing select
nationality
options as a prop to make them editable. - Accept a prop to customise error messages and make them change dynamically.
- Add the possibility of extending the form with additional fields via props or children.
- Manage data submission via an external API and pass the URL as a prop.
- Implement debounce on input fields to improve the user experience when typing.