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

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

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

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