Options
All
  • Public
  • Public/Protected
  • All
Menu

react-form-states

Index

Functions

  • createFormStore(): Store<State, Action>
  • useFormHandler(__namedParameters: Props): { isLoading: boolean; store: State }
  • Hook that sends a request on submit

    Parameters

    • __namedParameters: Props

    Returns { isLoading: boolean; store: State }

    • isLoading: boolean
    • store: State
  • useFormInput(__namedParameters: Props): undefined | InputStates
  • Bind form store and the input

    Parameters

    • __namedParameters: Props

    Returns undefined | InputStates