"use client"; import { LevelPicker } from "@/components/LevelPicker"; import type { Level } from "@/lib/languages"; import { Wand2, ArrowRight } from "lucide-react"; export function CustomTopicCard({ level, onLevelChange, customTopic, onCustomTopicChange, onGenerate, pending, disabled, error, }: { level: Level; onLevelChange: (level: Level) => void; customTopic: string; onCustomTopicChange: (value: string) => void; onGenerate: () => void; pending: boolean; disabled: boolean; error: string | null; }) { return (