'use client' import { useState } from 'react' import { ChevronDown } from 'lucide-react' const faqs = [ { question: 'How do I get started?', answer: 'Sign up for a free account and follow our quick setup guide. You can be up and running in minutes.', }, { question: 'Is my data secure?', answer: 'Yes, we use bank-grade encryption to protect all your data. Your security is our top priority.', }, { question: 'Do you offer customer support?', answer: '24/7 support is available for all customers. Reach out via email, chat, or phone.', }, { question: 'Can I cancel anytime?', answer: 'Yes, you can cancel your subscription at any time. No long-term contracts required.', }, ] export function FAQ() { const [openIndex, setOpenIndex] = useState(null) return (

Frequently asked questions

{faqs.map((faq, index) => (
{openIndex === index && (
{faq.answer}
)}
))}
) }