Skip to content

SearchcraftSearchResultsPerPage()

SearchcraftSearchResultsPerPage(props, deprecatedLegacyContext?): ReactNode

This React component is designed to choose the number of search results displayed.

Parameters

props

SearchcraftSearchResultsPerPageProps

deprecatedLegacyContext?

any

Deprecated

See

React Docs

Returns

ReactNode

Example

import React from 'react';
import { SearchcraftSearchResultsPerPage } from '@searchcraft/react-sdk';
const MyResultsPerPage = () => {
return <SearchcraftSearchResultsPerPage increment={20} />;
};
export default MyResultsPerPage;