Control two Accordion components on page

UI Components for React
Post Reply
avykoukal
Posts: 7
Joined: 03 Oct 2017, 13:57

18 Dec 2021, 20:53

Hi,
I have two Accordion components on one page and I need to control them.
For example, by clicking the button I need to open index 2 in the first Accordion component and index 4 in the second.
Or from the first Accordion component of active index 1 there is text with a link that should open in the second Accordion component index5.
Can I somehow specify in which component the index will be activated?

Post Reply

Return to “PrimeReact”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 10 guests