I have created an accordion type component in reactjs In this When I open the first toggle, only toggle one content should open, when clicked on second toggle then the toggle one content should close and only toggle second content should be open(Only one toggle should be open at a time) . But in my case everytime same div is getting open. I don't know where I did wrong? and how to solve it?. below is my code
import React, { useState } from "react";
import { FaPlus, FaMinus } from "react-icons/fa";
import "./FAQ.scss";
import { Collapse } from "reactstrap";
const Question = (props) => {
const [isOpen, setIsOpen] = useState(false);
const toggle = () => setIsOpen(!isOpen);
return (
<div className="question">
<div>
<button onClick={toggle}>
{isOpen ? <FaMinus /> : <FaPlus />}
</button>
</div>
<div onClick={toggle} className='title'>
{props.question}
</div>
<Collapse isOpen={isOpen} className='content'>
The standard chunk of Lorem Ipsum used since the 1500s is reproduced below for
those interested. Sections 1.10.32 and 1.10.33 from "de Finibus Bonorum et Malorum"
by Cicero are also reproduced in their exact original form, accompanied by English
versions from the 1914 translation by H. Rackham.
</Collapse>
<hr />
</div>
);
};
function FAQ() {
return (
<div className="faq" id='faq'>
<h2>F.A.Q.</h2>
<div className="faq-section">
<Question question="Question one" />
<Question question="Question two" />
<Question question="Question three" />
<Question question="Question four" />
<Question question="Question five" />
</div>
</div>
);
}
export default FAQ;
The screenshot is given in the below 
UPDATE THE QUESTION
Below is the link of a website the have the FAQ section in the bottom, I am trying to make the toggle feature as they have. FAQ section in the bottom of this website