"use client";

export type GroupLabelNodeData = {
  label: string;
  color: string;
};

export default function GroupLabelNode({ data }: { data: GroupLabelNodeData }) {
  return (
    <div
      className="pointer-events-none select-none text-center font-semibold text-xs tracking-[0.25em] uppercase"
      style={{ color: data.color, width: 320, textShadow: `0 0 16px ${data.color}66` }}
    >
      {data.label}
    </div>
  );
}
