SearchcraftPagination()
SearchcraftPagination(
props,deprecatedLegacyContext?):ReactNode
This React component is designed to facilitate pagination of search results. Once a query is submitted, calculates the number for pages.
Parameters
props
deprecatedLegacyContext?
any
Deprecated
See
Returns
ReactNode
Example
import React from 'react';import { SearchcraftPagination } from '@searchcraft/react-sdk';
const MyPaginationComponent = () => { return ( // other searchcraft components <SearchcraftPagination /> );};
export default MyPaginationComponent;