UNPKG

534 BTypeScriptView Raw
1import type { RangeInputProps as RangeInputUiProps } from '../ui/RangeInput';
2import type { UseRangeProps } from 'react-instantsearch-core';
3type UiProps = Pick<RangeInputUiProps, 'disabled' | 'onSubmit' | 'range' | 'start' | 'step' | 'translations'>;
4export type RangeInputProps = Omit<RangeInputUiProps, keyof UiProps> & UseRangeProps & {
5 translations?: Partial<UiProps['translations']>;
6};
7export declare function RangeInput({ attribute, min, max, precision, translations, ...props }: RangeInputProps): JSX.Element;
8export {};