React SDK

useResultsPerPage

useResultsPerPage provides getter and setter for the resultsPerPage param.

Usage

Editable Example
Suggestions
    Powered by

      Loading...

      Anatomy

      useResultsPerPage returns an object containing the following properties:

      NameTypeDefaultDescription
      resultsPerPagenumberThe number of result per page.
      setResultsPerPage(size: number) => voidMethod to set number of result per page.

      Parameters

      NameTypeDefaultDescription