import type { FC } from 'react' import { memo } from 'react' import { useStore } from '../store' import { ControlMode } from '../types' type CommentCursorProps = { mousePosition: { elementX: number; elementY: number } } export const CommentCursor: FC = memo(({ mousePosition }) => { const controlMode = useStore(s => s.controlMode) if (controlMode !== ControlMode.Comment) return null return (
) }) CommentCursor.displayName = 'CommentCursor'