"use client";

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

export function ProjectNode(props: NodeProps): React.JSX.Element {
  return (
    <BaseNode
      {...props}
      data={props.data as BaseNodeData}
      icon={
        <svg className="w-4 h-4" fill="none" stroke="currentColor" viewBox="0 0 24 24">
          <path
            strokeLinecap="round"
            strokeLinejoin="round"
            strokeWidth={2}
            d="M3 7v10a2 2 0 002 2h14a2 2 0 002-2V9a2 2 0 00-2-2h-6l-2-2H5a2 2 0 00-2 2z"
          />
        </svg>
      }
      color="#3b82f6"
    />
  );
}
