UNPKG

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