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

18 lines 733 B
import Plotly from 'plotly.js-basic-dist'; import { CSSProperties } from 'react'; import { BarPlotColors, GraphItem, PlotStyle } from './types'; export type BarPlotProps = { isTop: boolean; style?: CSSProperties; plotData: GraphItem[]; layoutConfig: Partial<Plotly.Layout>; optionsConfig: Partial<Plotly.Config>; label: string; xMax: number; colors?: BarPlotColors; plotStyle?: PlotStyle; onClick?: (event: Readonly<Plotly.PlotMouseEvent>) => void; }; declare function BarPlot({ plotData, optionsConfig, isTop, layoutConfig, label, xMax, colors, plotStyle, style, onClick, }: BarPlotProps): import("react/jsx-runtime").JSX.Element; export default BarPlot; //# sourceMappingURL=BarPlot.d.ts.map