import { withBluefish, withBluefishFn, BBox } from '../bluefish'; export type ArrowProps = { from: React.MutableRefObject | undefined; to: React.MutableRefObject | undefined; }; export const Arrow = withBluefishFn( ({ from, to }) => { return () => { const fromBox = from?.current.measure(); const toBox = to?.current.measure(); return { width: 0, height: 0 }; }; }, (props: ArrowProps & Partial) => ( ), );