import React from 'react' /** * Drop position indicator: the same expanding blue line with the "Drag it here" pill that the canvas draws between * top-level fields (the reference builder), so container columns show exactly the same line. */ export default function DropLine({ className = '', float = null }) { // float 'top' | 'bottom': drawn over the gap above / below its container without moving any field (grid columns), // so the before/after midpoint of the hovered field never shifts under the pointer. const floatCls = float === 'top' ? 'absolute left-0 right-0 -top-[2px] !my-0' : float === 'bottom' ? 'absolute left-0 right-0 -bottom-[2px] !my-0' : 'relative' return (