docs: update example in readme

This commit is contained in:
Ayo 2022-09-27 22:45:50 +02:00
parent f725d089a8
commit 994a903342

View file

@ -53,13 +53,19 @@ const form = new FormGroup([
]);
---
<Form formGroup={form} />
<Form formGroups={[form]} />
```
### Result:
# Screenshots
Result of example above:
![Screen Shot 2022-09-27 at 5 41 46 PM](https://user-images.githubusercontent.com/4262489/192572310-f83af2cc-53b9-4024-9ada-e64b34b66a15.png)
Example of multiple form groups:
![Screen Shot 2022-09-27 at 10 44 03 PM](https://user-images.githubusercontent.com/4262489/192631524-3139ac60-8d84-4c12-9231-fe2d49962756.png)
# Future Plans
Currently this only supports very basic form creation, but the goal of the project is ambitious: