UNPKG

625 BTypeScriptView Raw
1import type { ClearRefinementsProps as ClearRefinementsUiComponentProps } from '../ui/ClearRefinements';
2import type { UseClearRefinementsProps } from 'react-instantsearch-core';
3type UiProps = Pick<ClearRefinementsUiComponentProps, 'disabled' | 'onClick' | 'translations'>;
4export type ClearRefinementsProps = Omit<ClearRefinementsUiComponentProps, keyof UiProps> & UseClearRefinementsProps & {
5 translations?: Partial<UiProps['translations']>;
6};
7export declare function ClearRefinements({ includedAttributes, excludedAttributes, transformItems, translations, ...props }: ClearRefinementsProps): JSX.Element;
8export {};