+ {faqs.slice(0, visibleCount).map((faq, index) => (
+
+
toggleAnswer(index)}
+ aria-expanded={openIndex === index}
+ aria-controls={`faq-answer-${index}`}
+ tabIndex="0"
+ >
+ {faq.question}
+
+ {openIndex === index && (
+
+ {faq.answer}
+
+ )}
+
+ ))}
+