import type { ReactNode } from 'react'; import { plotControlsContext, plotEventsPlotContext, plotEventsUserContext, plotOverridesContext, } from './plotControllerContext.js'; import { usePlotEventsState } from './usePlotEvents.js'; import { usePlotOverridesState } from './usePlotOverrides.js'; interface PlotControllerProps { id?: string; children: ReactNode; } export function PlotController(props: PlotControllerProps) { const { id, children } = props; const { userActions, plotActions } = usePlotEventsState(); const { overrides, controls } = usePlotOverridesState(); return ( {children} ); }