Skip to content
\n

but the CAccordionHeader does not apply any such type (via the rest prop):

\n
    return (\n      <div className={_className} {...rest} ref={ref}>\n        <CAccordionButton>{children}</CAccordionButton>\n      </div>\n    )\n
\n

Is there a way to pass this type configuration through the CAccordionHeader to still make use of the ref and collapse functionality?

","upvoteCount":1,"answerCount":1,"acceptedAnswer":{"@type":"Answer","text":"

@PoeppingT it's a bug, I will fix it next release.

","upvoteCount":1,"url":"https://github.com/coreui/coreui-react/discussions/252#discussioncomment-2137299"}}}
Discussion options

You must be logged in to vote

@PoeppingT it's a bug, I will fix it next release.

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by PoeppingT
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants