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

20 lines 1.01 kB
import { QueryContextType } from '../QueryContext'; import { QueryWrapperPlotNavCustomPlotParams, SynapsePlotWidgetParams } from '../Plot/SynapsePlot'; import { Row } from '@sage-bionetworks/synapse-types'; export type QueryWrapperSynapsePlotProps = Pick<QueryWrapperPlotNavCustomPlotParams, 'onCustomPlotClick'> & Omit<SynapsePlotWidgetParams, 'selectedFacets' | 'additionalFilters'>; type QueryWrapperSynapsePlotInternalProps = { onHide: () => void; }; export type QueryWrapperSynapsePlotRowClickEvent = { row: Row; queryContext?: QueryContextType; }; /** * This component wraps a SynapsePlot. It passes in the current query context, and has a custom * "title" style so that it looks like it belongs in the QueryWrapperPlotNav plots. * @param props * @returns */ export default function QueryWrapperSynapsePlot(props: QueryWrapperSynapsePlotProps & QueryWrapperSynapsePlotInternalProps): import("react/jsx-runtime").JSX.Element; export {}; //# sourceMappingURL=QueryWrapperSynapsePlot.d.ts.map