bastilian-tabletools
    Preparing search index...

    Function usePagination

    • Provides pagination props for table tools.

      Parameters

      • Optionaloptions: { perPage?: number; total: number } = {}

        AsyncTableTools options

        • OptionalperPage?: number

          A number that will dictate the amount of items shown per page.

        • total: number

          The total number of items (required).

      Returns usePaginationReturn

      Pagination props, or {} when disabled