import type { Signal1D } from '@zakodium/nmr-types'; import { useScaleChecked } from '../../context/ScaleContext.js'; import { useJGraph } from './JGraphContext.js'; import JsCoupling from './JsCoupling.js'; interface JsCouplingsProps { signals: Signal1D[]; } export default function JsCouplings(props: JsCouplingsProps) { const { scaleX } = useScaleChecked(); const { height } = useJGraph(); return ( {props.signals.map((signal) => { return ( {signal.js?.map((j) => { return ; })} ); })} ); }