import { Check, Sparkles, X } from 'lucide-react'; import { cn } from '@/lib/utils'; import type { YouthActiveChoice } from './youth-form-projection'; export type CreativeChoiceGridProps = { choice: YouthActiveChoice; disabled?: boolean; onSelect: (optionId: string) => void; onReject?: () => void; }; /** * A small, keyboard-friendly surface for the one decision the creator needs * to make next. The server-provided option label stays visible verbatim (so * options such as “你帮我选” remain useful), while the first option gets a * gentle recommendation marker. */ export function CreativeChoiceGrid({ choice, disabled = false, onSelect, onReject, }: CreativeChoiceGridProps) { if (choice.options.length === 0) return null; return (

{choice.title}

{choice.body}

选择一个创作方向 {choice.options.map((option, index) => { const descriptionId = `${choice.id}-${option.id}-description`; return ( ); })}
{onReject && ( )}
); }