Do I really have to use <Accordion.Header/>
?
#558
Unanswered
ngdangtu-vn
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I don't have a use case where I need to add an non clickable item in accordion header. So to me, it is pretty much a redudant wrapper. I tried to remove it and only use
<Accordion.Trigger/>
and it seems to wrok just fine. So I wonder if it approriates to ignore<Accordion.Header/>
.(I think
<Accordion.Header/>
is great when we have checkbox in the header. But futher than that, I don't think I need it though. And doesn't that job belongs to<Collapsible/>
?)Beta Was this translation helpful? Give feedback.
All reactions