react-instantsearch
Version:
⚡ Lightning-fast search for React, by Algolia
8 lines (7 loc) • 592 B
TypeScript
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 {};