UNPKG

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