UNPKG

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