UNPKG

react-instantsearch

Version:
8 lines (7 loc) 592 B
import React from 'react'; import type { CurrentRefinementsProps as CurrentRefinementsUiComponentProps } from '../ui/CurrentRefinements'; import type { UseCurrentRefinementsProps } from 'react-instantsearch-core'; type UiProps = Pick<CurrentRefinementsUiComponentProps, 'items' | 'hasRefinements'>; export type CurrentRefinementsProps = Omit<CurrentRefinementsUiComponentProps, keyof UiProps> & UseCurrentRefinementsProps; export declare function CurrentRefinements({ includedAttributes, excludedAttributes, transformItems, ...props }: CurrentRefinementsProps): React.JSX.Element; export {};