How to make AccordionItem accept JSX children #2208
Answered
by
snowystinger
stefanprobst
asked this question in
Q&A
-
i am trying out the accordion alpha, and it's not clear to me how i can create accordion items with JSX children (plain text works fine), e.g.: <Accordion>
<Item key="first" title="First item">
<p>This is the first item with <a href="#">a link</a>.</p>
</Item>
</Accordion> it seems i can make it work by setting See here for a failing story (getting this error when toggling the accordion panel: |
Beta Was this translation helpful? Give feedback.
Answered by
snowystinger
Aug 25, 2021
Replies: 1 comment
-
We don't support this yet, but have an issue for it #1989 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
snowystinger
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
We don't support this yet, but have an issue for it #1989