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

18 lines (17 loc) 566 B
import React, { FunctionComponent } from 'react'; import * as PlotlyTyped from 'plotly.js'; import { GraphItem, BarPlotColors, PlotStyle } from './types'; export declare type BarPlotProps = { isTop: boolean; style?: React.CSSProperties; plotData: GraphItem[]; layoutConfig: Partial<PlotlyTyped.Layout>; optionsConfig: Partial<PlotlyTyped.Config>; label: string; xMax: number; colors?: BarPlotColors; plotStyle?: PlotStyle; onClick?: Function; }; declare const BarPlot: FunctionComponent<BarPlotProps>; export default BarPlot;