useForm

A hook to navigate with a form.

import { useForm } from 'react-sprout';

let [Form, busy, loading, navigations] = useForm();
  • Name
    Form
    Type
    Form
    Description

    A component to render the form

  • Name
    busy
    Type
    boolean
    Description

    A boolean indicating whether navigations are currently busy.

  • Name
    loading
    Type
    boolean
    Description

    A boolean indicating whether navigations are currently loading.

  • Name
    navigations
    Type
    Array
    Description

    An array of busy navigations.