You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
When a user click on the title the accordion details expand.
Describe the solution you'd like
Would be nice to have a hook so that when accordion expands we can trigger another action.
Looks like it should be a simple feature to add. Please add a new optional parameter to the main accordion component called "onClick" which can accept a function. There is already an internal function to handle a click on the title found on lines 76 -86 in Accordion.tsx where we can add this functionality.
Is your feature request related to a problem? Please describe.
When a user click on the title the accordion details expand.
Describe the solution you'd like
Would be nice to have a hook so that when accordion expands we can trigger another action.
Looks like it should be a simple feature to add. Please add a new optional parameter to the main accordion component called "onClick" which can accept a function. There is already an internal function to handle a click on the title found on lines 76 -86 in Accordion.tsx where we can add this functionality.
Set up:
git checkout release/1.1.0 git pull git checkout -b 'feature/accordion-title-on-click'
The text was updated successfully, but these errors were encountered: