Accordion does not have onOpen, onClose and onToggle behaviour #638
Replies: 3 comments 1 reply
-
This would be a nice enhancement. |
Beta Was this translation helpful? Give feedback.
-
hey @rluders I would like to work in this enhancement. the "onClose", "onToggle" and "onOpen" should be typed as void functions? |
Beta Was this translation helpful? Give feedback.
-
So, right now the Accordion is kind of hands off and I don't really love that.. I like your idea a lot, and I think it might be best for us to just make the Accordion fully controllable by the developer. e.g.
The thing we would like to do is remove boilerplate like |
Beta Was this translation helpful? Give feedback.
-
Describe the bug
onOpen
,onClose
andonToggle
are functions supported by Flowbite but are missing in this react library.To Reproduce
onOpen
property in the accordion elementExpected behavior
Project information:
Beta Was this translation helpful? Give feedback.
All reactions