"use client";

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

export function IdeaNode(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="M13 10V3L4 14h7v7l9-11h-7z"
          />
        </svg>
      }
      color="#f59e0b"
      borderStyle="dashed"
    />
  );
}
