import { motion } from 'framer-motion' const container = { hidden: { opacity: 0 }, show: { opacity: 1, transition: { staggerChildren: 0.07, delayChildren: 0.1 } }, } const chip = { hidden: { opacity: 0, x: -12 }, show: { opacity: 1, x: 0, transition: { type: 'spring', stiffness: 300, damping: 28 } }, } export default function SuggestedQuestions({ questions, onAsk }) { if (!questions || questions.length === 0) return null return (

Suggested Questions

{questions.map((q, i) => ( onAsk(q)} whileHover={{ x: 4, backgroundColor: 'rgba(99,102,241,0.12)' }} whileTap={{ scale: 0.98 }} className="flex items-center gap-3 px-4 py-2.5 rounded-xl border border-white/5 bg-surface text-left transition-colors group" > {i + 1} {q} ))}
) }