@adobe/react-spectrum-charts
Version:
Declarative library for composing Spectrum visualizations in React.
12 lines • 761 B
TypeScript
import { JSXElementConstructor, ReactElement } from 'react';
import { ScatterOptions } from '@spectrum-charts/vega-spec-builder';
import { ChartPopoverElement, ChartTooltipElement } from '../dialogs';
import { Children } from '../util.types';
import { ScatterPathElement, TrendlineElement } from './supplemental';
type ScatterChildElement = ChartPopoverElement | ChartTooltipElement | ScatterPathElement | TrendlineElement;
export interface ScatterProps extends Omit<ScatterOptions, 'chartPopovers' | 'chartTooltips' | 'markType' | 'scatterPaths' | 'trendlines'> {
children?: Children<ScatterChildElement>;
}
export type ScatterElement = ReactElement<ScatterProps, JSXElementConstructor<ScatterProps>>;
export {};
//# sourceMappingURL=scatter.types.d.ts.map