aboutsummaryrefslogtreecommitdiffstats
path: root/src/types/generics.ts
Commit message (Collapse)AuthorAgeFilesLines
* refactor(components): replace Overview with ProjectOverview componentArmand Philippot2023-11-111-0/+7
| | | | | | * `cover` prop is now expecting a ReactElement (NextImage) * `meta` prop is now limited to a specific set of meta items * add a `name` prop to add an accessible name to the figure element
* feat(hooks): add an useForm hookArmand Philippot2023-11-111-0/+5
* add two "sub"-hooks: useFormValues and useFormSubmit (that can be used independently) * handle initial data * handle custom submit callback * handle data validation * handle submit status