synapse-react-client
Version:
[](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [](https://badge.fury.io/js/synaps
16 lines (15 loc) • 390 B
TypeScript
import React from 'react';
declare type ControlType = 'number' | 'date';
export declare type RangeValues = {
min?: string;
max?: string;
};
export declare type RangeProps = {
type: ControlType;
initialValues?: RangeValues;
className?: string;
errorText?: string;
onChange: Function;
};
export declare const Range: React.FunctionComponent<RangeProps>;
export {};