Options
All
  • Public
  • Public/Protected
  • All
Menu

@caesium/hook-use-form

Index

Functions

useForm

  • Creates and manages form state

    Type parameters

    • Data

    • Meta = {}

    Parameters

    • initialData: Data

      The initial state of the form. Needs to have every field as a property.

    • Optional options: UseFormOptions<Meta>

      Configuration for the hook.

    Returns FormHookOutput<Data, Meta>

    State interaction functions.

Generated using TypeDoc