import type { NodeProps } from "@xyflow/react";

import type { DiagramNode } from "../graph";

export function BpmnPoolNode({ data }: NodeProps) {
  const d = data as unknown as DiagramNode & { label: string };

  return (
    <div className="bpmn-pool" style={{ width: "100%", height: "100%" }}>
      <div className="bpmn-pool-label">{d.label}</div>
    </div>
  );
}
