UNPKG

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