This repository has been archived on 2024-11-11. You can view files and clone it, but cannot push or open issues or pull requests.
Divlo 5bb73df804
fix: rename value to message in HandleUseFormCallback return type
BREAKING CHANGE: Migrate your onSubmit handlers to return a `message` instead of `value`
2023-04-02 22:08:32 +02:00
..
2023-01-10 21:23:32 +01:00
2023-04-02 21:52:34 +02:00
2022-08-26 20:19:31 +02:00
2022-08-26 20:19:31 +02:00
2022-08-26 20:19:31 +02:00
2022-08-26 23:47:48 +02:00
2022-08-26 20:19:31 +02:00
2022-11-08 11:40:39 +01:00
2022-08-26 20:19:31 +02:00
2023-04-02 21:52:34 +02:00
2023-04-02 21:52:34 +02:00
2023-04-02 21:52:34 +02:00
2022-08-26 20:19:31 +02:00
2022-08-26 20:19:31 +02:00
2023-04-02 21:52:34 +02:00

example

This is an example for using react-component-form inside a Next.js application with translations thanks to next-translate.

The application shows how to use the <Form /> component with the useForm hook to validate and submit a form with a name input and an email input.

The interesting code is in ./components/FormExample.tsx.