UNPKG

synapse-react-client

Version:

[![Build Status](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client.svg?branch=main)](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [![npm version](https://badge.fury.io/js/synapse-react-client.svg)](https://badge.fury.io/js/synaps

37 lines (36 loc) 1.37 kB
import * as React from 'react'; import { SQLOperator } from '../../utils/functions/sqlFunctions'; import { CardConfiguration } from '../CardContainerLogic'; import { SearchV2Props } from '../SearchV2'; import { SynapseTableProps } from '../table/SynapseTable'; import { FacetNavOwnProps } from '../widgets/facet-nav/FacetNav'; import { TopLevelControlsProps } from '../table/TopLevelControls'; declare type OwnProps = { sql: string; limit?: number; shouldDeepLink?: boolean; tableConfiguration?: SynapseTableProps; cardConfiguration?: CardConfiguration; searchConfiguration?: SearchV2Props; rgbIndex?: number; facetsToPlot?: string[]; facetsToFilter?: string[]; visibleColumnCount?: number; facetAliases?: Record<string, string>; hideDownload?: boolean; hideQueryCount?: boolean; defaultColumn?: string; defaultShowFacetVisualization?: boolean; downloadCartPageUrl?: string; } & Omit<TopLevelControlsProps, 'entityId'>; declare type SearchParams = { searchParams?: { facetValue: string; }; }; declare type Operator = { sqlOperator?: SQLOperator; }; export declare type QueryWrapperPlotNavProps = SearchParams & Partial<FacetNavOwnProps> & Operator & OwnProps; declare const QueryWrapperPlotNav: React.FunctionComponent<QueryWrapperPlotNavProps>; export default QueryWrapperPlotNav;