synapse-react-client
Version:
[](https://badge.fury.io/js/synapse-react-client) [](https://github.com/prettier/prettie
16 lines • 444 B
TypeScript
import React from 'react';
type ControlType = 'number' | 'date';
export type RangeValues<T = string | number> = {
min?: T;
max?: T;
};
export type RangeProps = {
type: ControlType;
initialValues?: RangeValues;
className?: string;
errorText?: string;
onApplyClicked: (newValues: RangeValues) => void;
};
export declare function Range(props: RangeProps): React.ReactNode;
export {};
//# sourceMappingURL=Range.d.ts.map