import { ResponsiveWrapper, WithChartRef, ResponsiveProps } from '@nivo/core' import { forwardRef, Ref, ReactElement } from 'react' import { ScatterPlotCanvas } from './ScatterPlotCanvas' import { ScatterPlotCanvasProps, ScatterPlotDatum } from './types' export const ResponsiveScatterPlotCanvas = forwardRef( ( { defaultWidth, defaultHeight, onResize, debounceResize, ...props }: ResponsiveProps>, ref: Ref ) => ( {({ width, height }) => ( )} ) ) as ( props: WithChartRef>, HTMLCanvasElement> ) => ReactElement