UNPKG

511 BTypeScriptView Raw
1import React from 'react';
2import type { HitsPerPageProps as HitsPerPageUiComponentProps } from '../ui/HitsPerPage';
3import type { UseHitsPerPageProps } from 'react-instantsearch-core';
4type UiProps = Pick<HitsPerPageUiComponentProps, 'items' | 'onChange' | 'currentValue'>;
5export type HitsPerPageProps = Omit<HitsPerPageUiComponentProps, keyof UiProps> & UseHitsPerPageProps;
6export declare function HitsPerPage({ items: userItems, transformItems, ...props }: HitsPerPageProps): React.JSX.Element;
7export {};