all same open with different button in Disclosure
#565
Answered
by
amantiwari1
amantiwari1
asked this question in
Help
-
what went wrong? Code - <Disclosure>
{Data.map((item, index) => (
<div key={index}>
<Disclosure.Button tw="py-2 font-medium text-left w-full">
{item.title}
</Disclosure.Button>
<Disclosure.Panel tw="text-gray-500">
{ReactHtmlParser(item.content)}
</Disclosure.Panel>
</div>
))}
</Disclosure> |
Beta Was this translation helpful? Give feedback.
Answered by
amantiwari1
May 25, 2021
Replies: 1 comment
-
ohh resolved
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
amantiwari1
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
ohh resolved