UNPKG

synapse-react-client

Version:

[![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synapse-react-client) [![code style: prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg?style=flat-square)](https://github.com/prettier/prettie

23 lines 944 B
import { ColumnType, FacetColumnResultRange } from '@sage-bionetworks/synapse-types'; import { RangeValues } from '../Range'; export declare enum RadioValuesEnum { NOT_SET = "org.sagebionetworks.UNDEFINED_NULL_NOTSET", RANGE = "RANGE", ANY = "" } export declare const options: { label: string; value: RadioValuesEnum; }[]; export type RangeFacetFilterProps = { label: string; facetResult: Pick<FacetColumnResultRange, 'columnMin' | 'columnMax' | 'selectedMin' | 'selectedMax'>; columnType: ColumnType; hideCollapsible?: boolean; onRangeValueSelected: (values: RangeValues) => void; onNotSetSelected: () => void; onAnySelected: () => void; }; export declare const getRadioValue: (min: string, isAnyValue: boolean) => RadioValuesEnum; export declare function RangeFacetFilterUI(props: RangeFacetFilterProps): import("react/jsx-runtime").JSX.Element; //# sourceMappingURL=RangeFacetFilterUI.d.ts.map