charlie-yao / react-aria-widgets

Implementations of WAI-ARIA widgets and design patterns in React.
MIT License
2 stars 0 forks source link

Move relevant logic in AccordionHeader and AccordionPanel to custom hooks? #175

Open charlie-yao opened 1 year ago

charlie-yao commented 1 year ago

It might be a good idea to move whatever logic we can that currently exists in <AccordionHeader> and <AccordionPanel> to custom hooks. It might be overkill, but it might also improve modularity and ease of implementing custom headers/panels.