import { memo } from 'react'; import { Handle, Position, type NodeProps } from '@xyflow/react'; import { Database } from 'lucide-react'; export const DatabaseNode = memo(({ data, selected }: NodeProps) => { const label = (data as { label?: string }).label ?? 'Database'; return (
{label}
); }); DatabaseNode.displayName = 'DatabaseNode';