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

34 lines (33 loc) 757 B
export declare type GraphItem = { x: number; y: string; info?: string; group: string; }; export declare type PlotStyle = { markerFill?: string; markerLine?: string; markerSize?: number; backgroundColor?: string; }; export declare type Dictionary = { [key: string]: string; }; export declare type BarPlotColors = Dictionary; export declare type PlotProps = { entityId: string; xField: string; yField: string; groupField: string; countLabel?: string; whereClause?: string; infoField?: string; colors?: BarPlotColors; markerSymbols?: Dictionary; plotStyle?: PlotStyle; }; export declare type ClickCallbackParams = { event: MouseEvent; facetValue: string; type: string; };