synapse-react-client
Version:
[](https://travis-ci.com/Sage-Bionetworks/Synapse-React-Client) [](https://badge.fury.io/js/synaps
20 lines (19 loc) • 612 B
TypeScript
import React, { FunctionComponent } from 'react';
import * as PlotlyTyped from 'plotly.js';
import { GraphItem, PlotStyle, Dictionary } from './types';
export declare type DotPlotProps = {
plotData: GraphItem[];
layoutConfig: Partial<PlotlyTyped.Layout>;
optionsConfig: Partial<PlotlyTyped.Config>;
label?: string;
style?: React.CSSProperties;
id: string;
isLegend?: boolean;
isXAxis?: boolean;
xMax?: number;
plotStyle?: PlotStyle;
markerSymbols?: Dictionary;
onClick?: Function;
};
declare const DotPlot: FunctionComponent<DotPlotProps>;
export default DotPlot;