glennflanagan / react-collapsible

React component to wrap content in Collapsible element with trigger to open and close.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Question - programmatically open/close component

tomHsieh85 opened this issue · comments

Hello!

This is a quick question not a bug! I am wondering if there's a way to programmatically open/close a component? For example I have 5 collapsible components, I want to close the other 4 when I click and expand one. Is that possible?