Type alias SetStateAction<State>

SetStateAction<State>: State | ((prevState) => State)

Type Parameters

  • State

Type declaration

    • (prevState): State
    • Parameters

      • prevState: State

      Returns State

Generated using TypeDoc