import React from 'react';
import { Handle, Position } from 'reactflow';

export function PromptNode({ data }) {
  return (
    <>
      <Handle type="target" position={Position.Top} />
      <div>
        <strong>{data.label}</strong>
        <div>{data.prompt}</div>
      </div>
      <Handle type="source" position={Position.Bottom} />
    </>
  );
}