import { Handle, HandleProps } from "@xyflow/react"; import { forwardRef } from "react"; import { cn } from "@/lib/utils"; export type BaseHandleProps = HandleProps; export const BaseHandle = forwardRef( ({ className, children, type, ...props }, ref) => { const isSource = type === 'source'; const isTarget = type === 'target'; return ( {children} ); }, ); BaseHandle.displayName = "BaseHandle";