UNPKG

410 BTypeScriptView Raw
1import type { SortByProps as SortByUiComponentProps } from '../ui/SortBy';
2import type { UseSortByProps } from 'react-instantsearch-core';
3type UiProps = Pick<SortByUiComponentProps, 'items' | 'value' | 'onChange'>;
4export type SortByProps = Omit<SortByUiComponentProps, keyof UiProps> & UseSortByProps;
5export declare function SortBy({ items, transformItems, ...props }: SortByProps): JSX.Element;
6export {};